Define boat as a groundrover vehicle type

This commit is contained in:
Jaeyoung Lim
2022-08-21 15:37:41 +02:00
parent fe5f2b501b
commit feda568e20
+2 -1
View File
@@ -120,7 +120,8 @@ bool is_fixed_wing(const vehicle_status_s &current_status)
bool is_ground_rover(const vehicle_status_s &current_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