From 1aaa2b68233c3d6c51d2a08990a96905f8861c3e Mon Sep 17 00:00:00 2001
From: ipa-fxm <felix.messmer@ipa.fhg.de>
Date: Wed, 23 Apr 2014 14:05:39 +0200
Subject: [PATCH] some more fixes

---
 ur_driver/src/ur_driver/driver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ur_driver/src/ur_driver/driver.py b/ur_driver/src/ur_driver/driver.py
index bf52483..39f54ad 100755
--- a/ur_driver/src/ur_driver/driver.py
+++ b/ur_driver/src/ur_driver/driver.py
@@ -693,7 +693,7 @@ def main():
     thread_commander.start()
 
     with open(roslib.packages.get_pkg_dir('ur_driver') + '/prog') as fin:
-        program = fin.read() % {"driver_hostname": get_my_ip(robot_hostname, reverse_port), "driver_reverseport": reverse_port}
+        program = fin.read() % {"driver_hostname": get_my_ip(robot_hostname, PORT), "driver_reverseport": reverse_port}
     connection = URConnection(robot_hostname, PORT, program)
     connection.connect()
     connection.send_reset_program()
-- 
GitLab