inject avoidance setpoints into AutoMapper

This commit is contained in:
Martina Rivizzigno
2019-02-28 11:28:14 +01:00
committed by bresch
parent 320ed40806
commit 4e806d79fe
@@ -86,6 +86,9 @@ bool FlightTaskAutoMapper::update()
_generateVelocitySetpoints(); _generateVelocitySetpoints();
} }
_obstacle_avoidance.prepareAvoidanceSetpoints(_position_setpoint, _velocity_setpoint, _yaw_setpoint,
_yawspeed_setpoint);
// during mission and reposition, raise the landing gears but only // during mission and reposition, raise the landing gears but only
// if altitude is high enough // if altitude is high enough
if (_highEnoughForLandingGear()) { if (_highEnoughForLandingGear()) {