1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-09 17:40:47 +02:00

tcp_port should also be a private parameter

This commit is contained in:
Felix Mauch
2019-09-30 09:03:13 +02:00
parent 9662f2b8ba
commit 2c3e91c95f

View File

@@ -12,7 +12,7 @@ def main():
# IP address of the robot
robot_ip = rospy.get_param("~robot_ip")
# Port on which the remote pc (robot) publishes the interface
tcp_port = rospy.get_param("tcp_port", "54321")
tcp_port = rospy.get_param("~tcp_port", "54321")
# By default, socat will create a pty in /dev/pts/N with n being an increasing number.
# Additionally, a symlink at the given location will be created. Use an absolute path here.