dynamic_graph_manager
tools.hh
Go to the documentation of this file.
1 
10 #include <dynamic-graph/linear-algebra.h>
11 
12 #include "yaml_cpp_catkin/yaml_eigen.h"
13 
14 #ifndef TOOLS_HH
15 #define TOOLS_HH
16 
17 namespace dynamic_graph
18 {
22 typedef std::map<std::string, dynamicgraph::Vector> VectorDGMap;
23 
32 void parse_yaml_node(const YAML::Node& sensors_and_controls,
33  VectorDGMap& out_sensors_map,
34  VectorDGMap& out_motor_controls_map);
35 
36 } // namespace dynamic_graph
37 
38 #endif /* #ifndef TOOLS_HH */
std::map< std::string, dynamicgraph::Vector > VectorDGMap
VectorDGMap is a shortcut for the very long type of the map.
Definition: tools.hh:22
void parse_yaml_node(const YAML::Node &sensors_and_controls, VectorDGMap &out_sensors_map, VectorDGMap &out_motor_controls_map)
parse_yaml_node allows to parse the yaml node to create the according maps of dynamicgraph::Vector.
Definition: tools.cpp:14
this is this package namespace in order to avoid naming conflict
Definition: device.hh:22