From 97ee63d357cdb56b076b023728f79c2b21d3fb3c Mon Sep 17 00:00:00 2001
From: bucyril <bucyril@ethz.ch>
Date: Tue, 6 Jun 2017 10:18:37 +0200
Subject: [PATCH] the config script now finds own IP automatically

---
 pps_ws/src/d_fall_pps/launch/Config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pps_ws/src/d_fall_pps/launch/Config.sh b/pps_ws/src/d_fall_pps/launch/Config.sh
index 0f61a499..a2676771 100755
--- a/pps_ws/src/d_fall_pps/launch/Config.sh
+++ b/pps_ws/src/d_fall_pps/launch/Config.sh
@@ -1,5 +1,5 @@
 export ROS_MASTER_URI=http://teacher:11311
-export ROS_IP=10.42.0.33
+export ROS_IP=hostname -I | awk '{print $1;}'
 export ROS_HOSTNAME=student$(cat /etc/StudentID)
 export ROS_NAMESPACE=$(cat /etc/StudentID)
 
-- 
GitLab