Browse Source

AP_Vehicle: allow scripts to get modes

c415-sdk
Tatsuya Yamaguchi 5 years ago committed by Andrew Tridgell
parent
commit
1309101a4b
  1. 1
      libraries/AP_Vehicle/AP_Vehicle.h

1
libraries/AP_Vehicle/AP_Vehicle.h

@ -56,6 +56,7 @@ public: @@ -56,6 +56,7 @@ public:
static AP_Vehicle *get_singleton();
bool virtual set_mode(const uint8_t new_mode, const ModeReason reason) = 0;
uint8_t virtual get_mode() const = 0;
/*
common parameters for fixed wing aircraft

Loading…
Cancel
Save