Skip to content
Snippets Groups Projects
Commit 2a2fc6b1 authored by cont-integration's avatar cont-integration
Browse files

[skip ci] applied clang format

parent 6e1dab92
No related branches found
No related tags found
1 merge request!39Draft: Resolve "Adapt to new sensor constructors in core"
......@@ -28,7 +28,8 @@ using namespace Eigen;
namespace wolf
{
ProcessorLoopClosureIcp::ProcessorLoopClosureIcp(const YAML::Node& _params)
: ProcessorLoopClosure("ProcessorLoopClosureIcp", {{'P', "StatePoint2d"}, {'O', "StateAngle"}}, _params), last_loop_closure_(nullptr)
: ProcessorLoopClosure("ProcessorLoopClosureIcp", {{'P', "StatePoint2d"}, {'O', "StateAngle"}}, _params),
last_loop_closure_(nullptr)
{
icp_params_ = getIcpParams(_params["icp"]);
recent_frames_ignored_ = _params["recent_frames_ignored"].as<int>();
......
......@@ -483,7 +483,8 @@ VectorComposite ProcessorOdomIcp::getState(StateKeys _keys) const
{
if (getStateTypes().has(key)) keys_available += key;
}
WOLF_DEBUG("Processor has no all keys asked (", _keys, "). Returning the available ones: ", keys_available);
WOLF_DEBUG(
"Processor has no all keys asked (", _keys, "). Returning the available ones: ", keys_available);
_keys = keys_available;
}
}
......
......@@ -82,7 +82,8 @@ TEST(ProcessorOdomIcp, Constructor_file)
TEST(ProcessorOdomIcp, creator_node)
{
yaml_schema_cpp::YamlServer server({laser_dir, wolf_schema_dir}, laser_dir + "/test/yaml/processor_odom_icp_2d.yaml");
yaml_schema_cpp::YamlServer server({laser_dir, wolf_schema_dir},
laser_dir + "/test/yaml/processor_odom_icp_2d.yaml");
auto node = server.getNode();
auto prc = FactoryProcessorNode::create("ProcessorOdomIcp", server.getNode(), {laser_dir, wolf_schema_dir});
......
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