mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-02 19:53:57 -04:00
Rover: disable switching and arming in INITIALIZING mode
This commit is contained in:
parent
d47afb2406
commit
a62dc3b3e0
@ -638,9 +638,14 @@ public:
|
||||
// methods that affect movement of the vehicle in this mode
|
||||
void update() override { }
|
||||
|
||||
// do not allow arming from this mode
|
||||
bool allows_arming() const override { return false; }
|
||||
|
||||
// attributes for mavlink system status reporting
|
||||
bool has_manual_input() const override { return true; }
|
||||
bool attitude_stabilized() const override { return false; }
|
||||
protected:
|
||||
bool _enter() override { return false; };
|
||||
};
|
||||
|
||||
class ModeFollow : public Mode
|
||||
|
Loading…
Reference in New Issue
Block a user