|
|
@ -43,8 +43,8 @@ gimbal_rotate (
|
|
|
|
req->gimbalrot.pitch = 0;
|
|
|
|
req->gimbalrot.pitch = 0;
|
|
|
|
req->gimbalrot.pitch = p;// >> 8;//(p >> 8 | y << 8);
|
|
|
|
req->gimbalrot.pitch = p;// >> 8;//(p >> 8 | y << 8);
|
|
|
|
req->gimbalrot.error = 0;
|
|
|
|
req->gimbalrot.error = 0;
|
|
|
|
req->gimbalrot.yaw_speed = 30;
|
|
|
|
req->gimbalrot.yaw_speed = 15;
|
|
|
|
req->gimbalrot.roll_speed = 0;
|
|
|
|
req->gimbalrot.roll_speed = 0;
|
|
|
|
req->gimbalrot.pitch_speed = 30;
|
|
|
|
req->gimbalrot.pitch_speed = 15;
|
|
|
|
req_finalize(seq, GIMBAL_ROTATE_CMD, ack, req);
|
|
|
|
req_finalize(seq, GIMBAL_ROTATE_CMD, ack, req);
|
|
|
|
}
|
|
|
|
}
|
|
|
|