mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
FlightTask: Add initialisation of the landing gear
This commit is contained in:
1 parent
de185726b3
commit
aaddb845c4
1 file changed
+1
@@ -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