mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
Vehicles: handle MSG_NAMED_FLOAT to fix ci failures
This commit is contained in:
parent
2e8d50e8e4
commit
a2360147d1
APMrover2
AntennaTracker
ArduCopter
ArduPlane
@ -486,6 +486,7 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id)
|
|||||||
case MSG_GIMBAL_REPORT:
|
case MSG_GIMBAL_REPORT:
|
||||||
case MSG_RPM:
|
case MSG_RPM:
|
||||||
case MSG_POSITION_TARGET_GLOBAL_INT:
|
case MSG_POSITION_TARGET_GLOBAL_INT:
|
||||||
|
case MSG_NAMED_FLOAT:
|
||||||
break; // just here to prevent a warning
|
break; // just here to prevent a warning
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -271,6 +271,7 @@ bool GCS_MAVLINK_Tracker::try_send_message(enum ap_message id)
|
|||||||
case MSG_RPM:
|
case MSG_RPM:
|
||||||
case MSG_MISSION_ITEM_REACHED:
|
case MSG_MISSION_ITEM_REACHED:
|
||||||
case MSG_POSITION_TARGET_GLOBAL_INT:
|
case MSG_POSITION_TARGET_GLOBAL_INT:
|
||||||
|
case MSG_NAMED_FLOAT:
|
||||||
break; // just here to prevent a warning
|
break; // just here to prevent a warning
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -583,6 +583,8 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id)
|
|||||||
case MSG_BATTERY_STATUS:
|
case MSG_BATTERY_STATUS:
|
||||||
send_battery_status(copter.battery);
|
send_battery_status(copter.battery);
|
||||||
break;
|
break;
|
||||||
|
case MSG_NAMED_FLOAT:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -687,6 +687,8 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id)
|
|||||||
case MSG_BATTERY_STATUS:
|
case MSG_BATTERY_STATUS:
|
||||||
send_battery_status(plane.battery);
|
send_battery_status(plane.battery);
|
||||||
break;
|
break;
|
||||||
|
case MSG_NAMED_FLOAT:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user