Friday, February 25, 2011

Pitch, lean to left.

public void staticPitch() throws Exception{
//pitch 0.1
send_at_cmd("AT*ANIM=401," + (seq++) + ",1000");
updateDrone();
send_at_cmd("AT*ANIM=401," + (seq++) + ",1000");
updateDrone();
send_at_cmd("AT*ANIM=401," + (seq++) + ",1000");
updateDrone();
send_at_cmd("AT*ANIM=401," + (seq++) + ",1000");
updateDrone();
send_at_cmd("AT*ANIM=401," + (seq++) + ",1000");
updateDrone();
send_at_cmd("AT*ANIM=401," + (seq++) + ",1000");
updateDrone();
send_at_cmd("AT*ANIM=401," + (seq++) + ",1000");
updateDrone();
send_at_cmd("AT*ANIM=401," + (seq++) + ",1000");
waiting(4);
}

No comments:

Post a Comment