mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 09:10:34 +08:00
vmount: improve debug message
This should help to figure out when gimbal commands don't work.
This commit is contained in:
@@ -807,7 +807,10 @@ int InputMavlinkGimbalV2::update_impl(unsigned int timeout_ms, ControlData **con
|
||||
_ack_vehicle_command(&vehicle_command, vehicle_command_s::VEHICLE_CMD_RESULT_ACCEPTED);
|
||||
|
||||
} else {
|
||||
PX4_ERR("GIMBAL_MANAGER_PITCHYAW denied, not in control");
|
||||
PX4_INFO("GIMBAL_MANAGER_PITCHYAW from %d/%d denied, in control: %d/%d",
|
||||
vehicle_command.source_system,
|
||||
vehicle_command.source_component,
|
||||
_sys_id_primary_control, _comp_id_primary_control);
|
||||
_ack_vehicle_command(&vehicle_command, vehicle_command_s::VEHICLE_CMD_RESULT_DENIED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user