mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
position_setpoint delete unused landing_gear
This commit is contained in:
@@ -31,8 +31,6 @@ bool yaw_valid # true if yaw setpoint valid
|
|||||||
float32 yawspeed # yawspeed (only for multirotors, in rad/s)
|
float32 yawspeed # yawspeed (only for multirotors, in rad/s)
|
||||||
bool yawspeed_valid # true if yawspeed setpoint valid
|
bool yawspeed_valid # true if yawspeed setpoint valid
|
||||||
|
|
||||||
int8 landing_gear # landing gear: see definition of the states in landing_gear.msg
|
|
||||||
|
|
||||||
float32 loiter_radius # loiter radius (only for fixed wing), in m
|
float32 loiter_radius # loiter radius (only for fixed wing), in m
|
||||||
int8 loiter_direction # loiter direction: 1 = CW, -1 = CCW
|
int8 loiter_direction # loiter direction: 1 = CW, -1 = CCW
|
||||||
|
|
||||||
|
|||||||
@@ -450,7 +450,6 @@ bool FlightTaskAuto::_evaluateTriplets()
|
|||||||
|
|
||||||
if (triplet_update || (_current_state != previous_state) || _current_state == State::offtrack) {
|
if (triplet_update || (_current_state != previous_state) || _current_state == State::offtrack) {
|
||||||
_updateInternalWaypoints();
|
_updateInternalWaypoints();
|
||||||
_mission_gear = _sub_triplet_setpoint.get().current.landing_gear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_param_com_obs_avoid.get()
|
if (_param_com_obs_avoid.get()
|
||||||
|
|||||||
@@ -132,7 +132,6 @@ protected:
|
|||||||
|
|
||||||
State _current_state{State::none};
|
State _current_state{State::none};
|
||||||
float _target_acceptance_radius{0.0f}; /**< Acceptances radius of the target */
|
float _target_acceptance_radius{0.0f}; /**< Acceptances radius of the target */
|
||||||
int _mission_gear{landing_gear_s::GEAR_KEEP};
|
|
||||||
|
|
||||||
float _yaw_sp_prev{NAN};
|
float _yaw_sp_prev{NAN};
|
||||||
AlphaFilter<float> _yawspeed_filter;
|
AlphaFilter<float> _yawspeed_filter;
|
||||||
|
|||||||
Reference in New Issue
Block a user