mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 03:37:35 +08:00
local_position_estimator: publish placeholder values for velocity accuracy
This commit is contained in:
committed by
Lorenz Meier
parent
3680057e6d
commit
e61e733d1d
@@ -632,6 +632,9 @@ void BlockLocalPositionEstimator::publishLocalPos()
|
||||
_pub_lpos.get().eph = eph;
|
||||
_pub_lpos.get().epv = epv;
|
||||
_pub_lpos.update();
|
||||
//TODO provide calculated values for these
|
||||
_pub_lpos.get().evh = 0.0f;
|
||||
_pub_lpos.get().evv = 0.0f;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -699,6 +702,9 @@ void BlockLocalPositionEstimator::publishGlobalPos()
|
||||
_pub_gpos.get().dead_reckoning = !(_estimatorInitialized & EST_XY);
|
||||
_pub_gpos.get().pressure_alt = _sub_sensor.get().baro_alt_meter;
|
||||
_pub_gpos.update();
|
||||
// TODO provide calculated values for these
|
||||
_pub_gpos.get().evh = 0.0f;
|
||||
_pub_gpos.get().evv = 0.0f;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user