Skip to content

Commit 967a5f2

Browse files
[ros_parameter] Wrong test when creating the tree of parameters.
1 parent 05dd97c commit 967a5f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ros_parameter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ bool parameter_server_read_robot_description()
3131
// Search for the robot util related to robot_name.
3232
sot::RobotUtilShrPtr aRobotUtil = sot::getRobotUtil(model_name);
3333
// If does not exist then it is created.
34-
if (aRobotUtil != sot::RefVoidRobotUtil())
34+
if (aRobotUtil == sot::RefVoidRobotUtil())
3535
aRobotUtil = sot::createRobotUtil(model_name);
3636

3737
// If the creation is fine

0 commit comments

Comments
 (0)