mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 17:53:34 +08:00
FlightTask Auto: Adapt to new message and rename variable
This commit is contained in:
committed by
Dennis Mannhart
parent
82d4cd6dfa
commit
be7416c823
@@ -224,7 +224,7 @@ bool FlightTaskAuto::_evaluateTriplets()
|
||||
if (triplet_update || (_current_state != previous_state)) {
|
||||
_updateInternalWaypoints();
|
||||
_updateAvoidanceWaypoints();
|
||||
_deploy_gear = _sub_triplet_setpoint->get().current.deploy_gear;
|
||||
_mission_gear = _sub_triplet_setpoint->get().current.landing_gear;
|
||||
}
|
||||
|
||||
if (MPC_OBS_AVOID.get() && _sub_vehicle_status->get().is_rotary_wing) {
|
||||
|
||||
Reference in New Issue
Block a user