Plane: do-mount-control specifies body-frame targets

this is a non-functional change
This commit is contained in:
Randy Mackay 2022-06-21 14:59:11 +09:00
parent d61ba6d9d1
commit 8f54957530

View File

@ -180,9 +180,7 @@ bool Plane::start_command(const AP_Mission::Mission_Command& cmd)
case MAV_CMD_DO_MOUNT_CONTROL: // 205
// point the camera to a specified angle
camera_mount.set_angle_targets(cmd.content.mount_control.roll,
cmd.content.mount_control.pitch,
cmd.content.mount_control.yaw);
camera_mount.set_angle_target(cmd.content.mount_control.roll, cmd.content.mount_control.pitch, cmd.content.mount_control.yaw, false);
break;
#endif