mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 20:03:54 +08:00
GeofenceBreachAvoidance: fixed bug which caused min vertical distance to fence
not to be calculated Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
@@ -62,6 +62,7 @@ void GeofenceBreachAvoidance::updateParameters()
|
||||
param_get(_paramHandle.param_mpc_acc_down_max, &_params.param_mpc_acc_down_max);
|
||||
|
||||
updateMinHorDistToFenceMultirotor();
|
||||
updateMinVertDistToFenceMultirotor();
|
||||
}
|
||||
|
||||
void GeofenceBreachAvoidance::setCurrentPosition(double lat, double lon, float alt)
|
||||
|
||||
Reference in New Issue
Block a user