mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 14:03:34 +08:00
rename position_controller_status field from altitude_acceptance_radius
to altitude_acceptance
This commit is contained in:
@@ -336,7 +336,7 @@ void FlightTaskAuto::_checkAvoidanceProgress()
|
||||
|
||||
if (pos_to_target.length() < NAV_ACC_RAD.get() && pos_to_target_z > NAV_MC_ALT_RAD.get()) {
|
||||
// vehicle above or below the target waypoint
|
||||
pos_control_status.altitude_acceptance_radius = pos_to_target_z + 0.5f;
|
||||
pos_control_status.altitude_acceptance = pos_to_target_z + 0.5f;
|
||||
}
|
||||
|
||||
// do not check for waypoints yaw acceptance in navigator
|
||||
|
||||
Reference in New Issue
Block a user