mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 15:21:36 +08:00
FlightTaskManualPosition: fix position lock
This commit is contained in:
committed by
Beat Küng
parent
46c7b1c26c
commit
e6f04ad34a
@@ -56,6 +56,7 @@ public:
|
||||
protected:
|
||||
matrix::Vector2f _vel_sp_xy{}; /* Scaled velocity setpoint from stick. NAN during position lock. */
|
||||
matrix::Vector2f _pos_sp_xy{}; /* Position setpoint during lock. Otherwise NAN.*/
|
||||
matrix::Vector2f _pos_sp_xy_lock{}; /* Position setpoint during lock */
|
||||
|
||||
control::BlockParamFloat _vel_xy_manual_max; /**< maximum speed allowed horizontally */
|
||||
control::BlockParamFloat _acc_xy_max;
|
||||
|
||||
Reference in New Issue
Block a user