Skip to content

Commit ef86132

Browse files
committed
Remove reference to ros2_venv.sh and delete script
1 parent 700fab3 commit ef86132

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,18 @@ echo "Setting up environment with virtual environment: $VENV_NAME"
3838
echo "Activating virtual environment..."
3939
source "$VENV_PATH/bin/activate"
4040

41-
# Step 2: Enable ROS2 with the virtual environment
42-
echo "Enabling ROS2 with virtual environment..."
43-
source "$SCRIPTS_PATH/ros2_venv.sh" enable "$VENV_PATH"
44-
45-
# Step 3: Change to coffee_ws directory and source ros-source.sh
41+
# Step 2: Change to coffee_ws directory and source ROS environment
4642
echo "Changing to coffee workspace and sourcing ROS..."
4743
pushd "$COFFEE_WS_PATH" > /dev/null
4844
source "$SCRIPTS_PATH/ros-source.sh"
4945

50-
# Step 4: Run ros-source function
51-
echo "Running ros-source..."
46+
# Step 3: Run ros-source function to set up ROS2 and workspace
47+
echo "Setting up ROS2 and workspace..."
5248
ros-source
5349

5450
# Return to original directory
5551
popd > /dev/null
5652

57-
echo "Environment setup complete!"
53+
echo "Environment setup complete!"
54+
echo "Virtual environment: $VENV_NAME"
55+
echo "ROS2 and workspace are ready to use."

0 commit comments

Comments
 (0)