mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
inject avoidance setpoints into AutoMapper
This commit is contained in:
committed by
bresch
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()) {
|
||||
|
||||
Reference in New Issue
Block a user