forked from Archive/PX4-Autopilot
inject avoidance setpoints into AutoMapper
This commit is contained in:
parent
320ed40806
commit
4e806d79fe
|
@ -86,6 +86,9 @@ bool FlightTaskAutoMapper::update()
|
|||
_generateVelocitySetpoints();
|
||||
}
|
||||
|
||||
_obstacle_avoidance.prepareAvoidanceSetpoints(_position_setpoint, _velocity_setpoint, _yaw_setpoint,
|
||||
_yawspeed_setpoint);
|
||||
|
||||
// during mission and reposition, raise the landing gears but only
|
||||
// if altitude is high enough
|
||||
if (_highEnoughForLandingGear()) {
|
||||
|
|
Loading…
Reference in New Issue