Potential incomplete doc in isaac ros realsense setup

Could you guide how to get to the docker in order to enter the realsense-viewer command?

2025-02-05 13:29:55 [mona@DOS isaac_ros_common]$ ./scripts/run_dev.sh -d ${ISAAC_ROS_WS}
Launching Isaac ROS Dev container with image key x86_64.ros2_humble.realsense: /home/mona/workspaces/isaac_ros-dev/
Building x86_64.ros2_humble.realsense base as image: isaac_ros_dev-x86_64
Building layered image for key x86_64.ros2_humble.realsense as isaac_ros_dev-x86_64
Using configured docker search paths: /home/mona/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker
Checking if base image nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble-realsense_abaf95dbad7ec06f92397c4406c5ffea exists on remote registry
Checking if base image nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8 exists on remote registry
Found pre-built base image: nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8
x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8: Pulling from nvidia/isaac/ros
762bedf4b1b7: Pulling fs layer 
0b41952b72ac: Pulling fs layer 
4f4fb700ef54: Pulling fs layer 
07ba40811e97: Waiting 
5225d47729a1: Waiting 
a6736266741e: Waiting 
1d4f5bd6b322: Waiting 
31b0ebce44a6: Waiting 
80331719ab01: Waiting 
89611129266d: Waiting 
a6fb8d7f959b: Waiting 
92d994dcc9cf: Waiting 
5bb995e55ec8: Waiting 
9a2596b7b726: Waiting 
38b603e618b6: Waiting 
afc54cea18f1: Waiting 
62f4d4da0738: Waiting 
d94d36e98e89: Waiting 
60cfd9f68907: Waiting 
2bb596bab1e2: Waiting 
c615c8bc82c0: Waiting 
0a747185c88f: Waiting 
48c7083f891b: Waiting 
eaf9e58efb13: Waiting 
b7e9c73673f3: Waiting 
4f56b37681fc: Waiting 
29d24ca43a63: Waiting 
e27256ab9df6: Waiting 
ac90b17120dc: Waiting 
c2072f422b96: Waiting 
22159efba9bc: Waiting 
ef695987e0bc: Waiting 
34313d4c6f10: Waiting 
dff5597c50e2: Waiting 
08b712bb78e2: Waiting 
8352d0ac536f: Waiting 
91bfddee3525: Waiting 
3ede5376a9c9: Waiting 
efc28114f793: Waiting 
36ef679bb658: Waiting 
08af7cdb3912: Waiting 
5822c07125e4: Waiting 
31c6d758f99b: Waiting 
6b8754d7ce3a: Waiting 
4ee0f5c16db4: Waiting 
307e6eeb0300: Pull complete 
8ad490131253: Pull complete 
a1a851be9b63: Pull complete 
318ed65bac87: Pull complete 
35cf531fd48c: Pull complete 
702811291b5c: Pull complete 
b101bbafea9f: Pull complete 
1967cb11ec29: Pull complete 
0d88d95c78dd: Pull complete 
561c34e85e42: Pull complete 
5b6fac9f2a45: Pull complete 
feb82ff1d636: Pull complete 
30cd2439103a: Pull complete 
9083985ceb3a: Pull complete 
5c6009973d20: Pull complete 
ef5b1520155c: Pull complete 
61963dc5da35: Pull complete 
757831ca3a97: Pull complete 
2847bf45b162: Pull complete 
698a692cc0d6: Pull complete 
4277eabf57d9: Pull complete 
7428777c8522: Pull complete 
87a496d84115: Pull complete 
da06f42e1c6d: Pull complete 
0889ce1dd927: Pull complete 
229e6cd115a6: Pull complete 
e450bbeadbc7: Pull complete 
60d0c2bdb6c1: Pull complete 
1386a6a8500e: Pull complete 
fcd4579359f7: Pull complete 
6b6359f3a967: Pull complete 
2aed228084f1: Pull complete 
1651ffc0a6ef: Pull complete 
0d21606f264c: Pull complete 
8e589a966100: Pull complete 
f4ab687b836e: Pull complete 
8bc6e5f7844b: Pull complete 
Digest: sha256:55f37ea84f849522d43b7b364429be4fc0ea5862d728186fcf84814f34d338f5
Status: Downloaded newer image for nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8
nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8
Finished pulling pre-built base image: nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8
Resolved the following 1 Dockerfiles for target image: x86_64.ros2_humble.realsense
/home/mona/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.realsense
Building /home/mona/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.realsense as image: isaac_ros_dev-x86_64 with base: nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8
[+] Building 1281.2s (13/13) FINISHED                                                                                         docker:default
 => [internal] load build definition from Dockerfile.realsense                                                                          0.0s
 => => transferring dockerfile: 2.42kB                                                                                                  0.0s
 => [internal] load metadata for nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8                           0.0s
 => [internal] load .dockerignore                                                                                                       0.0s
 => => transferring context: 2B                                                                                                         0.0s
 => [stage-0 1/8] FROM nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8                                     5.3s
 => [internal] load build context                                                                                                       0.2s
 => => transferring context: 11.54kB                                                                                                    0.0s
 => [stage-0 2/8] COPY scripts/build-librealsense.sh /opt/realsense/build-librealsense.sh                                               3.2s
 => [stage-0 3/8] COPY scripts/install-realsense-dependencies.sh /opt/realsense/install-realsense-dependencies.sh                       0.1s
 => [stage-0 4/8] RUN chmod +x /opt/realsense/install-realsense-dependencies.sh &&     /opt/realsense/install-realsense-dependencie  1098.9s
 => [stage-0 5/8] RUN mkdir -p /opt/realsense/                                                                                          0.1s 
 => [stage-0 6/8] COPY scripts/hotplug-realsense.sh /opt/realsense/hotplug-realsense.sh                                                 0.1s 
 => [stage-0 7/8] COPY udev_rules/99-realsense-libusb-custom.rules /etc/udev/rules.d/99-realsense-libusb-custom.rules                   0.1s 
 => [stage-0 8/8] RUN --mount=type=cache,target=/var/cache/apt     mkdir -p /opt/ros/humble/src && cd /opt/ros/humble/src     && git  170.8s 
 => exporting to image                                                                                                                  2.2s 
 => => exporting layers                                                                                                                 2.1s 
 => => writing image sha256:62d10d129dbb3a3a7f4ecf73dd9d90c986de122e9bcf0850d46916a045d3ef92                                            0.0s 
 => => naming to docker.io/library/isaac_ros_dev-x86_64                                                                                 0.0s 
Running isaac_ros_dev-x86_64-container                                                                                                       
Creating non-root container 'admin' for host user uid=1002:gid=1002                                                                          
 * Stopping hotplug events dispatcher systemd-udevd                                                                                   [ OK ] 
 * Starting hotplug events dispatcher systemd-udevd                                                                                   [ OK ] 
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

admin@DOS:/workspaces/isaac_ros-dev$

https://nvidia-isaac-ros.github.io/getting_started/hardware_setup/sensors/realsense_setup.html

it’s possible it may have taken a while for changes to take effect since when I first entered realsense-viewer despite my camera being connected before the docker build, it was not showing it as connected.

also, I assume based on the following end of scripts/run_dev.sh I am already in docker.

docker run -it --rm \
    --privileged \
    --network host \
    --ipc=host \
    ${DOCKER_ARGS[@]} \
    -v $ISAAC_ROS_DEV_DIR:/workspaces/isaac_ros-dev \
    -v /etc/localtime:/etc/localtime:ro \
    --name "$CONTAINER_NAME" \
    --runtime nvidia \
    --entrypoint /usr/local/bin/scripts/workspace-entrypoint.sh \
    --workdir /workspaces/isaac_ros-dev \
    $BASE_NAME \
    /bin/bash

I guess I just got confused by the orange part I highlighted in documentation.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.