mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 03:37:35 +08:00
Publishes LPE GPS epv and eph as estimator status. (#5413)
* Publishes LPE GPS epv and eph as estimator status. * Adds timestamp
This commit is contained in:
committed by
Lorenz Meier
parent
a071ef94db
commit
f999fbe440
@@ -726,6 +726,9 @@ void BlockLocalPositionEstimator::publishEstimatorStatus()
|
||||
+ (_sonarInitialized << SENSOR_SONAR)
|
||||
+ (_visionInitialized << SENSOR_VISION)
|
||||
+ (_mocapInitialized << SENSOR_MOCAP);
|
||||
_pub_est_status.get().pos_horiz_accuracy = _pub_gpos.get().eph;
|
||||
_pub_est_status.get().pos_vert_accuracy = _pub_gpos.get().epv;
|
||||
|
||||
_pub_est_status.update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user