mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 22:40:27 +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:
1 parent
9418d36cc9
commit
92abf0545a
1 file changed
+1
@@ -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