Browse Source

AP_Motors: expose throttle min and max

mission-4.1.18
Randy Mackay 11 years ago committed by Andrew Tridgell
parent
commit
a0298aee29
  1. 3
      libraries/AP_Motors/AP_Motors_Class.h

3
libraries/AP_Motors/AP_Motors_Class.h

@ -104,6 +104,9 @@ public: @@ -104,6 +104,9 @@ public:
// this is used to limit the amount that the stability patch will increase the throttle to give more room for roll, pitch and yaw control
void set_mid_throttle(uint16_t mid_throttle);
int16_t throttle_min() const { return _min_throttle;}
int16_t throttle_max() const { return _max_throttle;}
// output - sends commands to the motors
void output();

Loading…
Cancel
Save