diff --git a/src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp b/src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp index e306ec36ae..e21212fbee 100644 --- a/src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp +++ b/src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp @@ -604,8 +604,11 @@ void BlockLocalPositionEstimator::publishLocalPos() //TODO provide calculated values for these _pub_lpos.get().evh = 0.0f; _pub_lpos.get().evv = 0.0f; - _pub_lpos.get().vxy_max = 0.0f; - _pub_lpos.get().limit_hagl = false; + _pub_lpos.get().vxy_max = INFINITY; + _pub_lpos.get().vz_max = INFINITY; + _pub_lpos.get().hagl_min = INFINITY; + _pub_lpos.get().hagl_max = INFINITY; + } }