Changed constant name to UNMANNED_GROUND_VEHICLE

This commit is contained in:
Timothy Scott
2019-05-02 10:26:42 +02:00
committed by Julian Oes
parent 714c90b9db
commit 21760a5856
19 changed files with 39 additions and 32 deletions

View File

@@ -691,6 +691,7 @@ bool set_nav_state(vehicle_status_s *status, actuator_armed_s *armed, commander_
status->nav_state = vehicle_status_s::NAVIGATION_STATE_AUTO_LOITER;
} else if (status_flags.condition_local_altitude_valid) {
//TODO: Add case for rover
if (status->vehicle_type == vehicle_status_s::VEHICLE_TYPE_ROTARY_WING) {
status->nav_state = vehicle_status_s::NAVIGATION_STATE_DESCEND;