Skip to content
Snippets Groups Projects
Commit 83fcbab9 authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Add support for additional types in RosImport.

parent 85212f20
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,11 @@ namespace dynamicgraph
entity.add<ml::Matrix> (signal, topic);
else if (type == "vector")
entity.add<ml::Vector> (signal, topic);
else if (type == "matrixHomo")
entity.add<sot::MatrixHomogeneous> (signal, topic);
else if (type == "matrixHomoStamped")
entity.add<std::pair<sot::MatrixHomogeneous, ml::Vector> >
(signal, topic);
else
throw std::runtime_error("bad type");
return Value ();
......
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