Rover: allow scripts to get modes
This commit is contained in:
parent
2c9e56c4b2
commit
94e324dbd2
@ -390,6 +390,7 @@ private:
|
||||
void update_ahrs_flyforward();
|
||||
bool set_mode(Mode &new_mode, ModeReason reason);
|
||||
bool set_mode(const uint8_t new_mode, ModeReason reason) override;
|
||||
uint8_t get_mode() const override { return (uint8_t)control_mode->mode_number(); }
|
||||
bool mavlink_set_mode(uint8_t mode);
|
||||
void startup_INS_ground(void);
|
||||
void notify_mode(const Mode *new_mode);
|
||||
|
Loading…
Reference in New Issue
Block a user