mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 23:23:33 +08:00
FlightTask - Move checkSetpoints function in each FlightTask to be tailored to the specific needs and avoid checking all the setpoints
This commit is contained in:
committed by
Mathieu Bresciani
parent
24811cf550
commit
37a9b90945
+1
@@ -62,6 +62,7 @@ protected:
|
||||
(ParamFloat<px4::params::MPC_ACC_DOWN_MAX>) _param_mpc_acc_down_max
|
||||
)
|
||||
private:
|
||||
void checkSetpoints(vehicle_local_position_setpoint_s &setpoints);
|
||||
void _resetPositionLock();
|
||||
void _initEkfResetCounters();
|
||||
void _checkEkfResetCounters(); /**< Reset the trajectories when the ekf resets velocity or position */
|
||||
|
||||
Reference in New Issue
Block a user