Skip to content

Commit 9808137

Browse files
committed
docs: use standard colcon install path in Jazzy instructions
1 parent a6fad16 commit 9808137

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,17 @@ to keep the bring-up scope tight and regression-tested.
3232
cd ~/ros2_ws/src/elevation_mapping_cupy
3333
docker build -f docker/Dockerfile.x64 -t elevation_mapping_cupy:jazzy .
3434

35-
# Build + test in a mounted Jazzy workspace (keeps Jazzy artifacts separate).
35+
# Build + test in a mounted Jazzy workspace.
3636
docker run --rm --gpus all --net=host \
3737
-v ~/ros2_ws:/ws -w /ws elevation_mapping_cupy:jazzy bash -lc '
3838
set -e
3939
source /opt/ros/jazzy/setup.bash
4040
colcon build --symlink-install \
41-
--build-base build_jazzy --install-base install_jazzy \
4241
--packages-select elevation_map_msgs elevation_mapping_cupy
43-
source install_jazzy/setup.bash
42+
source install/setup.bash
4443
colcon test --packages-select elevation_mapping_cupy \
45-
--build-base build_jazzy --install-base install_jazzy \
4644
--event-handlers console_direct+
47-
colcon test-result --verbose --test-result-base build_jazzy
45+
colcon test-result --verbose
4846
'
4947
```
5048

@@ -55,7 +53,7 @@ docker run --rm --gpus all --net=host \
5553
docker run --rm --gpus all --net=host \
5654
-v ~/ros2_ws:/ws -w /ws elevation_mapping_cupy:jazzy bash -lc '
5755
source /opt/ros/jazzy/setup.bash
58-
source install_jazzy/setup.bash
56+
source install/setup.bash
5957
ros2 launch elevation_mapping_cupy synthetic_depth_demo.launch.py launch_rviz:=false
6058
'
6159
```

docs/source/getting_started/installation.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@ Build + test the packages inside a mounted workspace:
3030
set -e
3131
source /opt/ros/jazzy/setup.bash
3232
colcon build --symlink-install \
33-
--build-base build_jazzy --install-base install_jazzy \
3433
--packages-select elevation_map_msgs elevation_mapping_cupy
35-
source install_jazzy/setup.bash
34+
source install/setup.bash
3635
colcon test --packages-select elevation_mapping_cupy \
37-
--build-base build_jazzy --install-base install_jazzy \
3836
--event-handlers console_direct+
39-
colcon test-result --verbose --test-result-base build_jazzy
37+
colcon test-result --verbose
4038
'
4139
4240

0 commit comments

Comments
 (0)