@@ -73,6 +73,8 @@ bool HardwareInterface::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw
7373 // The driver will offer an interface to receive the program's URScript on this port.
7474 int script_sender_port = robot_hw_nh.param (" script_sender_port" , 50002 );
7575
76+ // When the robot's URDF is being loaded with a prefix, we need to know it here, as well, in order
77+ // to publish correct frame names for frames reported by the robot directly.
7678 robot_hw_nh.param <std::string>(" tf_prefix" , tf_prefix_, " " );
7779
7880 // Path to the urscript code that will be sent to the robot.
@@ -106,9 +108,9 @@ bool HardwareInterface::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw
106108 return false ;
107109 }
108110
109- // Enables non_blocking_read mode. Useful when used with combined_robot_hw. Disables error
110- // generated when read returns without any data, sets the read timeout to zero, and
111- // synchronises read/write operations .
111+ // Enables non_blocking_read mode. Should only be used with combined_robot_hw. Disables error generated when read
112+ // returns without any data, sets the read timeout to zero, and synchronises read/write operations. Enabling this when
113+ // not used with combined_robot_hw can suppress important errors and affect real-time performance .
112114 robot_hw_nh.param (" non_blocking_read" , non_blocking_read_, false );
113115
114116 // Specify gain for servoing to position in joint space.
0 commit comments