File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
include/dynamic_graph_bridge Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ namespace dynamicgraph {
5
5
6
6
bool parameter_server_read_robot_description ();
7
7
8
- };
8
+ }
9
9
#endif /* _ROS_DYNAMIC_GRAPH_PARAMETER_ */
Original file line number Diff line number Diff line change
1
+ #include < sot/core/robot-utils.hh>
2
+
1
3
#include " pinocchio/multibody/model.hpp"
2
4
#include " pinocchio/parsers/urdf.hpp"
3
5
7
9
8
10
#include < urdf_parser/urdf_parser.h>
9
11
10
- #include < sot/core/robot-utils.hh>
11
12
#include < ros/ros.h>
12
13
#include " dynamic_graph_bridge/ros_parameter.hh"
13
14
@@ -30,7 +31,7 @@ bool parameter_server_read_robot_description()
30
31
// Search for the robot util related to robot_name.
31
32
sot::RobotUtilShrPtr aRobotUtil = sot::getRobotUtil (model_name);
32
33
// If does not exist then it is created.
33
- if (aRobotUtil ! = sot::RefVoidRobotUtil ())
34
+ if (aRobotUtil = = sot::RefVoidRobotUtil ())
34
35
aRobotUtil = sot::createRobotUtil (model_name);
35
36
36
37
// If the creation is fine
@@ -50,4 +51,4 @@ bool parameter_server_read_robot_description()
50
51
51
52
}
52
53
53
- };
54
+ }
You can’t perform that action at this time.
0 commit comments