Search found 2 matches

by trucnguyen
Tue Jul 08, 2014 7:09 am
Forum: Developer Discussions
Topic: How to send a constant thrust to Crazyflie?
Replies: 3
Views: 2969

Re: How to send a constant thrust to Crazyflie?

I know the reason, because 50/100 is always equal 0. After casting float type, the quad-copter fly.
Thanks God! :D
by trucnguyen
Tue Jul 08, 2014 3:09 am
Forum: Developer Discussions
Topic: How to send a constant thrust to Crazyflie?
Replies: 3
Views: 2969

How to send a constant thrust to Crazyflie?

I am using android application and try to modify the source code. As I understand this code line is used to send commands to Crazyflie: mCrazyradioLink.send(new CommanderPacket(mController.getRoll(), mController.getPitch(), mController.getYaw(), (char) (mController.getThrust()/100 * MAX_THRUST), mCo...