Skip to content

Commit 4be7cc4

Browse files
t-schnellfmauch
andauthored
Update ur_robot_driver/src/ros/hardware_interface.cpp
Co-Authored-By: Felix Exner <[email protected]>
1 parent b169ea4 commit 4be7cc4

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
@@ -298,6 +298,8 @@ bool HardwareInterface::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw
298298
safety_mode_pub_.reset(
299299
new realtime_tools::RealtimePublisher<ur_dashboard_msgs::SafetyMode>(robot_hw_nh, "safety_mode", 1, true));
300300

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

0 commit comments

Comments
 (0)