Rover: hold mode does not require GPS

If armed without GPS, the user was unable to enter hold mode
This commit is contained in:
Randy Mackay 2017-12-05 14:30:38 +09:00
parent 97e87e2150
commit bccdb4e195
1 changed files with 4 additions and 1 deletions

View File

@ -285,6 +285,9 @@ public:
// attributes for mavlink system status reporting // attributes for mavlink system status reporting
bool attitude_stabilized() const override { return false; } bool attitude_stabilized() const override { return false; }
// hold mode does not require GPS
bool requires_gps() const override { return false; }
}; };
@ -305,8 +308,8 @@ public:
bool has_manual_input() const override { return true; } bool has_manual_input() const override { return true; }
bool attitude_stabilized() const override { return false; } bool attitude_stabilized() const override { return false; }
// manual mode does not require GPS
bool requires_gps() const override { return false; } bool requires_gps() const override { return false; }
}; };