mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 13:37:35 +08:00
Added innovation logging to LPE. (#5124)
This commit is contained in:
@@ -50,6 +50,7 @@ BlockLocalPositionEstimator::BlockLocalPositionEstimator() :
|
||||
_pub_lpos(ORB_ID(vehicle_local_position), -1, &getPublications()),
|
||||
_pub_gpos(ORB_ID(vehicle_global_position), -1, &getPublications()),
|
||||
_pub_est_status(ORB_ID(estimator_status), -1, &getPublications()),
|
||||
_pub_innov(ORB_ID(ekf2_innovations), -1, &getPublications()),
|
||||
|
||||
// map projection
|
||||
_map_ref(),
|
||||
@@ -479,6 +480,7 @@ void BlockLocalPositionEstimator::update()
|
||||
// update all publications if possible
|
||||
publishLocalPos();
|
||||
publishEstimatorStatus();
|
||||
_pub_innov.update();
|
||||
|
||||
if (_validXY) {
|
||||
publishGlobalPos();
|
||||
|
||||
Reference in New Issue
Block a user