mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-05 02:30:36 +08:00
FlightTaskAuto minor clean up
This commit is contained in:
committed by
Lorenz Meier
parent
ae0f02f67d
commit
816f2d12d5
@@ -128,7 +128,6 @@ bool FlightTaskAuto::_evaluateTriplets()
|
||||
_sub_triplet_setpoint->get().previous.lon, &_prev_wp(0), &_prev_wp(1));
|
||||
_prev_wp(2) = -(_sub_triplet_setpoint->get().previous.alt - _reference_altitude);
|
||||
|
||||
|
||||
} else {
|
||||
_prev_wp = _position;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user