Skip to content
Snippets Groups Projects
Commit 967a5f26 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[ros_parameter] Wrong test when creating the tree of parameters.

parent 05dd97c2
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ bool parameter_server_read_robot_description()
// Search for the robot util related to robot_name.
sot::RobotUtilShrPtr aRobotUtil = sot::getRobotUtil(model_name);
// If does not exist then it is created.
if (aRobotUtil != sot::RefVoidRobotUtil())
if (aRobotUtil == sot::RefVoidRobotUtil())
aRobotUtil = sot::createRobotUtil(model_name);
// If the creation is fine
......
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