mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 12:13:35 +08:00
Set default minimum and maximum PWM for motors
This allows to consistently define: Motor stopped - disarmed PWM Motor idling - minimum PWM Motor at full thrust - maximum PWM Any allocation can then distinctly decide if a motor should be running or not depending on the context and also explicitly command that.
This commit is contained in:
@@ -179,6 +179,8 @@ public:
|
||||
|
||||
param_t functionParamHandle(int index) const { return _param_handles[index].function; }
|
||||
param_t disarmedParamHandle(int index) const { return _param_handles[index].disarmed; }
|
||||
param_t minParamHandle(int index) const { return _param_handles[index].min; }
|
||||
param_t maxParamHandle(int index) const { return _param_handles[index].max; }
|
||||
|
||||
/**
|
||||
* Returns the actual failsafe value taking into account the assigned function
|
||||
|
||||
Reference in New Issue
Block a user