mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 23:03:34 +08:00
position_setpoint delete unused landing_gear
This commit is contained in:
@@ -450,7 +450,6 @@ bool FlightTaskAuto::_evaluateTriplets()
|
||||
|
||||
if (triplet_update || (_current_state != previous_state) || _current_state == State::offtrack) {
|
||||
_updateInternalWaypoints();
|
||||
_mission_gear = _sub_triplet_setpoint.get().current.landing_gear;
|
||||
}
|
||||
|
||||
if (_param_com_obs_avoid.get()
|
||||
|
||||
@@ -132,7 +132,6 @@ protected:
|
||||
|
||||
State _current_state{State::none};
|
||||
float _target_acceptance_radius{0.0f}; /**< Acceptances radius of the target */
|
||||
int _mission_gear{landing_gear_s::GEAR_KEEP};
|
||||
|
||||
float _yaw_sp_prev{NAN};
|
||||
AlphaFilter<float> _yawspeed_filter;
|
||||
|
||||
Reference in New Issue
Block a user