Skip to content
Snippets Groups Projects
Commit e61e733d authored by priseborough's avatar priseborough Committed by Lorenz Meier
Browse files

local_position_estimator: publish placeholder values for velocity accuracy

parent 3680057e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment