Page 1 of 1

Crazyflie autonomous

Posted: Thu Aug 08, 2013 12:27 am
by martin914
Hi everyone,

I am thinking of make the crazyflie autonomous by extending the source code of current crazyflie android client, when the right side joystick is moved upward, the command will be sent to start the motor, so if i put a timer for it, then i can make the crazyflie fly itself without manual control. But is it the part of source code to anable the motor to start lift up? or any idea how can i do this?

@Override
public void OnMoved(int pan, int tilt) {
right_analog_y = (float) tilt / resolution;
right_analog_x = (float) pan / resolution;

mFlightDataView.updateFlightData();
}

Thanks.