Browse Source

AP_HAL: ESC scaling

mission-4.1.18
Eugene Shamaev 8 years ago committed by Francisco Ferreira
parent
commit
a07033f938
  1. 5
      libraries/AP_HAL/RCOutput.h

5
libraries/AP_HAL/RCOutput.h

@ -108,6 +108,11 @@ public: @@ -108,6 +108,11 @@ public:
*/
virtual void set_esc_scaling(uint16_t min_pwm, uint16_t max_pwm) {}
/*
returns the pwm value scaled to [-1;1] regrading to set_esc_scaling ranges range without constraints.
*/
virtual float scale_esc_to_unity(uint16_t pwm) { return 0; }
/*
enable SBUS out at the given rate
*/

Loading…
Cancel
Save