diff --git a/pps_ws/src/d_fall_pps/launch/Config.sh b/pps_ws/src/d_fall_pps/launch/Config.sh index 0f61a49902b9aaa50b9ca15229bd50d4398e4203..a2676771780fb38140016b65cfa60367981c1bfe 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)