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

format

parent ef209f36
No related branches found
No related tags found
1 merge request!8Remove sensor from processor creators
......@@ -30,9 +30,9 @@ struct ProcessorParamsGnssFix : public ProcessorParamsBase
}
std::string print()
{
return "\n" + ProcessorParamsBase::print()
+ "time_th: " + std::to_string(time_th) + "\n";
+ "dist_traveled: " + std::to_string(dist_traveled) + "\n";
return "\n" + ProcessorParamsBase::print() + "\n"
+ "time_th: " + std::to_string(time_th) + "\n"
+ "dist_traveled: " + std::to_string(dist_traveled) + "\n"
+ "enu_map_init_dist_min: " + std::to_string(enu_map_init_dist_min) + "\n";
}
};
......
......@@ -30,9 +30,9 @@ struct ProcessorParamsGnssSingleDiff : public ProcessorParamsBase
}
std::string print()
{
return "\n" + ProcessorParamsBase::print()
+ "time_th: " + std::to_string(time_th) + "\n";
+ "dist_traveled: " + std::to_string(dist_traveled) + "\n";
return "\n" + ProcessorParamsBase::print() + "\n"
+ "time_th: " + std::to_string(time_th) + "\n"
+ "dist_traveled: " + std::to_string(dist_traveled) + "\n"
+ "enu_map_init_dist_min: " + std::to_string(enu_map_init_dist_min) + "\n";
}
};
......
......@@ -24,20 +24,20 @@ struct IntrinsicsGnss : public IntrinsicsBase
IntrinsicsGnss(std::string _unique_name, const ParamsServer& _server):
IntrinsicsBase(_unique_name, _server)
{
extrinsics_fixed_ = _server.getParam<bool>(_unique_name + "/extrinsics_fixed");
roll_fixed_ = _server.getParam<bool>(_unique_name + "/roll_fixed");
pitch_fixed_ = _server.getParam<bool>(_unique_name + "/pitch_fixed");
yaw_fixed_ = _server.getParam<bool>(_unique_name + "/yaw_fixed");
translation_fixed_ = _server.getParam<bool>(_unique_name + "/translation_fixed");
extrinsics_fixed_ = _server.getParam<bool>(_unique_name + "/extrinsics_fixed");
roll_fixed_ = _server.getParam<bool>(_unique_name + "/roll_fixed");
pitch_fixed_ = _server.getParam<bool>(_unique_name + "/pitch_fixed");
yaw_fixed_ = _server.getParam<bool>(_unique_name + "/yaw_fixed");
translation_fixed_ = _server.getParam<bool>(_unique_name + "/translation_fixed");
}
std::string print()
{
return "\n" + IntrinsicsBase::print()
+ "extrinsics_fixed: " + std::to_string(extrinsics_fixed_) + "\n"
+ "roll_fixed: " + std::to_string(roll_fixed_) + "\n"
+ "pitch_fixed: " + std::to_string(pitch_fixed_) + "\n"
+ "yaw_fixed: " + std::to_string(yaw_fixed_) + "\n"
+ "translation_fixed: " + std::to_string(translation_fixed_) + "\n";
return "\n" + IntrinsicsBase::print() + "\n"
+ "extrinsics_fixed: " + std::to_string(extrinsics_fixed_) + "\n"
+ "roll_fixed: " + std::to_string(roll_fixed_) + "\n"
+ "pitch_fixed: " + std::to_string(pitch_fixed_) + "\n"
+ "yaw_fixed: " + std::to_string(yaw_fixed_) + "\n"
+ "translation_fixed: " + std::to_string(translation_fixed_) + "\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