Skip to content
Snippets Groups Projects
Commit 85e59c21 authored by Beat Küng's avatar Beat Küng
Browse files

mc_pos_control: fix uninitialized member _old_landing_gear_position

parent 7b9cfac7
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ private:
vehicle_trajectory_waypoint_s _traj_wp_avoidance{}; /**< trajectory waypoint */
vehicle_trajectory_waypoint_s _traj_wp_avoidance_desired{}; /**< desired waypoints, inputs to an obstacle avoidance module */
landing_gear_s _landing_gear{};
int8_t _old_landing_gear_position;
int8_t _old_landing_gear_position{landing_gear_s::GEAR_KEEP};
DEFINE_PARAMETERS(
(ParamFloat<px4::params::MPC_TKO_RAMP_T>) _takeoff_ramp_time, /**< time constant for smooth takeoff ramp */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment