mirror of https://github.com/ArduPilot/ardupilot
Mount_SToRM32_serial: fix angle request
This commit is contained in:
parent
9b04a67e63
commit
fb2d29364e
|
@ -179,9 +179,9 @@ void AP_Mount_SToRM32_serial::send_target_angles(float pitch_deg, float roll_deg
|
|||
yaw_deg = -yaw_deg;
|
||||
|
||||
// send CMD_SETANGLE
|
||||
cmd_set_angles_data.pitch = pitch_deg*100;
|
||||
cmd_set_angles_data.roll = roll_deg*100;
|
||||
cmd_set_angles_data.yaw = yaw_deg*100;
|
||||
cmd_set_angles_data.pitch = pitch_deg;
|
||||
cmd_set_angles_data.roll = roll_deg;
|
||||
cmd_set_angles_data.yaw = yaw_deg;
|
||||
|
||||
uint8_t* buf = (uint8_t*)&cmd_set_angles_data;
|
||||
|
||||
|
|
Loading…
Reference in New Issue