mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-08 19:31:36 +08:00
Define boat as a groundrover vehicle type
This commit is contained in:
@@ -120,7 +120,8 @@ bool is_fixed_wing(const vehicle_status_s ¤t_status)
|
||||
|
||||
bool is_ground_rover(const vehicle_status_s ¤t_status)
|
||||
{
|
||||
return current_status.system_type == VEHICLE_TYPE_GROUND_ROVER;
|
||||
return (current_status.system_type == VEHICLE_TYPE_GROUND_ROVER ||
|
||||
current_status.system_type == VEHICLE_TYPE_BOAT);
|
||||
}
|
||||
|
||||
// End time for currently blinking LED message, 0 if no blink message
|
||||
|
||||
Reference in New Issue
Block a user