We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05dd97c commit 967a5f2Copy full SHA for 967a5f2
src/ros_parameter.cpp
@@ -31,7 +31,7 @@ bool parameter_server_read_robot_description()
31
// Search for the robot util related to robot_name.
32
sot::RobotUtilShrPtr aRobotUtil = sot::getRobotUtil(model_name);
33
// If does not exist then it is created.
34
- if (aRobotUtil != sot::RefVoidRobotUtil())
+ if (aRobotUtil == sot::RefVoidRobotUtil())
35
aRobotUtil = sot::createRobotUtil(model_name);
36
37
// If the creation is fine
0 commit comments