5
0
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:
Jacob Walser 2017-10-30 14:16:43 -04:00
parent 2e8d50e8e4
commit a2360147d1
4 changed files with 6 additions and 0 deletions
APMrover2
AntennaTracker
ArduCopter
ArduPlane

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;
} }