Crazyflie autonomous

Firmware/software/electronics
Locked
martin914
Beginner
Posts: 7
Joined: Tue Aug 06, 2013 11:18 pm

Crazyflie autonomous

Post by martin914 » Thu Aug 08, 2013 12:27 am

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.



Locked