AP_HAL: added get_esc_scaling() API for rcout
This commit is contained in:
parent
a2eec97325
commit
dacbef2120
@ -110,6 +110,11 @@ public:
|
||||
*/
|
||||
virtual void set_esc_scaling(uint16_t min_pwm, uint16_t max_pwm) {}
|
||||
|
||||
/*
|
||||
return ESC scaling value from set_esc_scaling()
|
||||
*/
|
||||
virtual bool get_esc_scaling(uint16_t &min_pwm, uint16_t &max_pwm) { return false; }
|
||||
|
||||
/*
|
||||
returns the pwm value scaled to [-1;1] regrading to set_esc_scaling ranges range without constraints.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user