Skip to content
Snippets Groups Projects
Commit 9e22a06e authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

params print

parent af44eb5e
No related tags found
1 merge request!24After 2nd RAL submission
...@@ -30,7 +30,7 @@ struct ParamsProcessorTrackerFeatureImage : public ParamsProcessorTrackerFeature ...@@ -30,7 +30,7 @@ struct ParamsProcessorTrackerFeatureImage : public ParamsProcessorTrackerFeature
pixel_noise_std = _server.getParam<double>(_unique_name + "/pixel_noise_std"); pixel_noise_std = _server.getParam<double>(_unique_name + "/pixel_noise_std");
pixel_noise_var = _server.getParam<double>(_unique_name + "/pixel_noise_var"); pixel_noise_var = _server.getParam<double>(_unique_name + "/pixel_noise_var");
} }
std::string print() const std::string print() const override
{ {
return "\n" + ParamsProcessorTrackerFeature::print() + "\n" return "\n" + ParamsProcessorTrackerFeature::print() + "\n"
+ "yaml_file_params_vision_utils: " + yaml_file_params_vision_utils + "\n" + "yaml_file_params_vision_utils: " + yaml_file_params_vision_utils + "\n"
......
...@@ -38,7 +38,7 @@ struct ParamsProcessorTrackerFeatureTrifocal : public ParamsProcessorTrackerFeat ...@@ -38,7 +38,7 @@ struct ParamsProcessorTrackerFeatureTrifocal : public ParamsProcessorTrackerFeat
pixel_noise_std = _server.getParam<double>(_unique_name + "/pixel_noise_std"); pixel_noise_std = _server.getParam<double>(_unique_name + "/pixel_noise_std");
min_track_length_for_factor = _server.getParam<int>(_unique_name + "/min_track_length_for_factor"); min_track_length_for_factor = _server.getParam<int>(_unique_name + "/min_track_length_for_factor");
} }
std::string print() const std::string print() const override
{ {
return "\n" + ParamsProcessorTrackerFeature::print() + "\n" return "\n" + ParamsProcessorTrackerFeature::print() + "\n"
+ "yaml_file_params_vision_utils: " + yaml_file_params_vision_utils + "\n" + "yaml_file_params_vision_utils: " + yaml_file_params_vision_utils + "\n"
......
...@@ -66,9 +66,9 @@ struct ParamsSensorCamera : public ParamsSensorBase ...@@ -66,9 +66,9 @@ struct ParamsSensorCamera : public ParamsSensorBase
distortion.tail<1>() = distortion.tail<1>(); distortion.tail<1>() = distortion.tail<1>();
} }
} }
std::string print() const std::string print() const override
{ {
return "\n" + ParamsSensorBase::print() + "\n" return ParamsSensorBase::print() + "\n"
+ "width: " + std::to_string(width) + "\n" + "width: " + std::to_string(width) + "\n"
+ "height: " + std::to_string(height) + "\n" + "height: " + std::to_string(height) + "\n"
+ "pinhole: " + converter<std::string>::convert(pinhole_model_raw) + "\n" + "pinhole: " + converter<std::string>::convert(pinhole_model_raw) + "\n"
......
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