Skip to content
Snippets Groups Projects
Commit 4e806d79 authored by Martina Rivizzigno's avatar Martina Rivizzigno Committed by bresch
Browse files

inject avoidance setpoints into AutoMapper

parent 320ed408
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,9 @@ bool FlightTaskAutoMapper::update() ...@@ -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()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment