You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit removes the robot namespace warning found in the FrankaHWSim
since it is no longer needed now that #196 has been merged. It also
replaced the 'arm_id' default with the model name.
if (robot_namespace != "/" && this->arm_id_ != robot_namespace) {
40
-
ROS_WARN_STREAM_NAMED(
41
-
"franka_hw_sim",
42
-
"Caution: Robot names differ! Read 'arm_id: "
43
-
<< this->arm_id_ << "' from parameter server but URDF defines '<robotNamespace>"
44
-
<< robot_namespace << "</robotNamespace>'. Will use '" << this->arm_id_ << "'!");
38
+
39
+
// Try to get the arm_id from the robot_namespace otherwise use the model name.
40
+
if (!model_nh.hasParam("arm_id")){
41
+
ROS_WARN_STREAM_NAMED("franka_hw_sim", "No 'arm_id' found on '" << model_nh.getNamespace() << "' parameter namespace." << " Using model name instead (" << parent->GetName() << ").");
0 commit comments