Skip to content

Commit

Permalink
add hostname (#41)
Browse files Browse the repository at this point in the history
will add hostnames as hostname.local. So we should only do this if we
are sure that all our robots will follow this convention.
  • Loading branch information
PetervDooren authored Apr 9, 2024
2 parents a5c4522 + 8708cff commit 646fc60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.bash
Original file line number Diff line number Diff line change
@@ -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" ]
Expand Down Expand Up @@ -68,6 +65,7 @@ function emc-update
}

# --------------------------------------------------------------------------------
export ROS_HOSTNAME=$HOSTNAME.local

alias mrc-teleop='rosrun emc_system teleop.py'

Expand Down

0 comments on commit 646fc60

Please sign in to comment.