Skip to content

Commit 252e2a8

Browse files
committed
FIX env script to reference current local workspace location
1 parent c893771 commit 252e2a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/ros2_venv.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# source ros2_venv.sh disable - Revert to system Python
77

88
# Default venv path
9-
DEFAULT_VENV_PATH="$HOME/Documents/GitHub/coffee-budy/coffee_budy_venv"
9+
DEFAULT_VENV_PATH="$HOME/Github/coffee-budy/coffee_buddy_venv"
1010
ROS_DISTRO="jazzy" # Change this if using a different ROS2 distribution
1111

1212
# Check if script is being sourced
@@ -43,8 +43,8 @@ enable_venv() {
4343
export PYTHONPATH="$VENV_SITE_PACKAGES:$PYTHONPATH"
4444

4545
# Source workspace setup if it exists
46-
if [ -f "$HOME/Documents/GitHub/coffee-budy/coffee_ws/install/setup.bash" ]; then
47-
source "$HOME/Documents/GitHub/coffee-budy/coffee_ws/install/setup.bash"
46+
if [ -f "$HOME/Github/coffee-budy/coffee_ws/install/setup.bash" ]; then
47+
source "$HOME/Github/coffee-budy/coffee_ws/install/setup.bash"
4848
fi
4949

5050
echo "ROS2 is now using Python virtual environment at $venv_path"
@@ -70,8 +70,8 @@ disable_venv() {
7070
source "/opt/ros/$ROS_DISTRO/setup.bash"
7171

7272
# Source workspace setup if it exists
73-
if [ -f "$HOME/Documents/GitHub/coffee-budy/coffee_ws/install/setup.bash" ]; then
74-
source "$HOME/Documents/GitHub/coffee-budy/coffee_ws/install/setup.bash"
73+
if [ -f "$HOME/Github/coffee-budy/coffee_ws/install/setup.bash" ]; then
74+
source "$HOME/Github/coffee-budy/coffee_ws/install/setup.bash"
7575
fi
7676

7777
# Clear the flag

0 commit comments

Comments
 (0)