Skip to content
Snippets Groups Projects
Commit 972fd496 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

optional parameter

parent 47cb46d7
No related branches found
No related tags found
2 merge requests!28release after RAL,!27After 2nd RAL submission
...@@ -32,7 +32,8 @@ struct ParamsSensorGnss : public ParamsSensorBase ...@@ -32,7 +32,8 @@ struct ParamsSensorGnss : public ParamsSensorBase
yaw_fixed = _server.getParam<bool>(prefix + _unique_name + "/ENU-MAP/yaw_fixed"); yaw_fixed = _server.getParam<bool>(prefix + _unique_name + "/ENU-MAP/yaw_fixed");
translation_fixed = _server.getParam<bool>(prefix + _unique_name + "/ENU-MAP/translation_fixed"); translation_fixed = _server.getParam<bool>(prefix + _unique_name + "/ENU-MAP/translation_fixed");
set_ENU = _server.getParam<bool>(prefix + _unique_name + "/set_ENU"); set_ENU = _server.getParam<bool>(prefix + _unique_name + "/set_ENU");
ENU_latlonalt = _server.getParam<Eigen::Vector3d>(prefix + _unique_name + "/ENU_latlonalt"); if (set_ENU)
ENU_latlonalt = _server.getParam<Eigen::Vector3d>(prefix + _unique_name + "/ENU_latlonalt");
} }
std::string print() const std::string print() const
{ {
......
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