mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
FlightTask: Add initialisation of the landing gear
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user