From 8708cffedaca017dcabbb5e7e8c67a62e2d08ab7 Mon Sep 17 00:00:00 2001 From: Peter van Dooren Date: Tue, 2 Apr 2024 11:47:18 +0200 Subject: [PATCH] add hostname --- setup.bash | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.bash b/setup.bash index 7d207be..45675e2 100644 --- a/setup.bash +++ b/setup.bash @@ -1,8 +1,5 @@ export EMC_ENV_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export EMC_DIR=$EMC_ENV_DIR/.. - -# -------------------------------------------------------------------------------- - export EMC_SYSTEM_DIR=$EMC_DIR/system if [ -z "$EMC_ROS_DISTRO" ] @@ -68,6 +65,7 @@ function emc-update } # -------------------------------------------------------------------------------- +export ROS_HOSTNAME=$HOSTNAME.local alias mrc-teleop='rosrun emc_system teleop.py'