Skip to content

Commit 21ea8f4

Browse files
t-schnellfmauch
andcommitted
Update ur_robot_driver/src/ros/hardware_interface.cpp
Co-Authored-By: Felix Exner <[email protected]>
1 parent db56a8d commit 21ea8f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ur_robot_driver/src/ros/hardware_interface.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ bool HardwareInterface::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw
305305
safety_mode_pub_.reset(
306306
new realtime_tools::RealtimePublisher<ur_dashboard_msgs::SafetyMode>(robot_hw_nh, "safety_mode", 1, true));
307307

308+
// As we automatically create publishers for raw data of additional fields, we prevent republishing data
309+
// that has already been published on ROS-interfaces. This list has to be kept updated by hand.
308310
std::string already_published[] = { "actual_q",
309311
"actual_qd",
310312
"target_speed_fraction",

0 commit comments

Comments
 (0)