Browse Source

local_position_estimator: update local_position publication

Ensure all data is set.
sbg
Paul Riseborough 7 years ago committed by ChristophTobler
parent
commit
c294393377
  1. 2
      src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp

2
src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp

@ -660,6 +660,8 @@ void BlockLocalPositionEstimator::publishLocalPos() @@ -660,6 +660,8 @@ 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;
}
}

Loading…
Cancel
Save