mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 02:11:35 +08:00
FlightTaskManual: remove stick_deadzone because base class already has it.
Remove deadzone check for vel in xy/z because expo already contains deadzone
This commit is contained in:
committed by
Beat Küng
parent
8da2ff4d77
commit
55b6f19367
@@ -68,6 +68,7 @@ protected:
|
||||
bool _sticks_data_required = true; /**< let sibling task define if it depends on stick data */
|
||||
matrix::Vector<float, 4> _sticks; /**< unmodified manual stick inputs */
|
||||
matrix::Vector3f _sticks_expo; /**< modified manual sticks using expo function*/
|
||||
control::BlockParamFloat _hold_dz; /**< deadzone around the center for the sticks when flying in position mode */
|
||||
|
||||
private:
|
||||
|
||||
@@ -75,7 +76,6 @@ private:
|
||||
|
||||
control::BlockParamFloat _xy_vel_man_expo; /**< ratio of exponential curve for stick input in xy direction pos mode */
|
||||
control::BlockParamFloat _z_vel_man_expo; /**< ratio of exponential curve for stick input in xy direction pos mode */
|
||||
control::BlockParamFloat _hold_dz; /**< deadzone around the center for the sticks when flying in position mode */
|
||||
|
||||
|
||||
bool _evaluateSticks(); /**< checks and sets stick inputs */
|
||||
|
||||
Reference in New Issue
Block a user