Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
apparently when ros-kinetic-turtlebot is installed, it populates many…
Browse files Browse the repository at this point in the history
… environment variaibles. So have to use TURTLEBOT_ARM to check if the ones we want loaded are actually loaded
  • Loading branch information
swinterbotix committed Jun 28, 2020
1 parent 2e45316 commit 39854aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion turtlebot2i_misc/turtlebot2i_install.sh
Expand Up @@ -124,7 +124,7 @@ fi
source $TURTLEBOT2I_WS/devel/setup.bash

# Step 5: Setup Environment variables
if [ -z ${TURTLEBOT_3D_SENSOR} ]; then
if [ -z ${TURTLEBOT_ARM} ]; then
echo "Setting up Environment variables..."
echo "export TURTLEBOT_3D_SENSOR=astra" >> ~/.bashrc
echo "export TURTLEBOT_3D_SENSOR2=sr300" >> ~/.bashrc
Expand Down
2 changes: 1 addition & 1 deletion turtlebot2i_misc/turtlebot2i_remote_install.sh
Expand Up @@ -31,7 +31,7 @@ fi
source $TURTLEBOT2I_WS/devel/setup.bash

# Step 2: Setup Environment variables
if [ -z ${TURTLEBOT_3D_SENSOR} ]; then
if [ -z ${TURTLEBOT_ARM} ]; then
echo "Setting up Environment variables..."
echo "export TURTLEBOT_3D_SENSOR=astra" >> ~/.bashrc
echo "export TURTLEBOT_3D_SENSOR2=sr300" >> ~/.bashrc
Expand Down

0 comments on commit 39854aa

Please sign in to comment.