local_position_estimator: update local_position publication

Ensure all data is set.
This commit is contained in:
Paul Riseborough
2017-12-14 09:15:45 +11:00
committed by ChristophTobler
parent 642a4a5fc7
commit c294393377
@@ -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;
}
}