mirror of https://github.com/ArduPilot/ardupilot
Rover: hold mode does not require GPS
If armed without GPS, the user was unable to enter hold mode
This commit is contained in:
parent
97e87e2150
commit
bccdb4e195
|
@ -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; }
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue