mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 08:40:35 +08:00
FlightTask: Add initialisation of the landing gear
This commit is contained in:
committed by
Dennis Mannhart
parent
de185726b3
commit
aaddb845c4
@@ -36,6 +36,7 @@ bool FlightTask::activate()
|
||||
_setDefaultConstraints();
|
||||
_time_stamp_activate = hrt_absolute_time();
|
||||
_heading_reset_counter = _sub_attitude->get().quat_reset_counter;
|
||||
_gear = landing_gear_default_keep;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user