Error when calibrating monocular camera for Isaac ROS

I am trying to configure my Jetson Orin Nano to run Isaac ROS. I am following these steps for calibrating a monocular camera: Monocular Camera Calibration — isaac_ros_docs documentation

I am able to do up to step 3. However, when I perform step 4, I get the following output:

$ cd ${ISAAC_ROS_WS}/src/isaac_ros_common &&   ./scripts/run_dev.sh
bash: cd: /mnt/nova_ssd/workspaces/isaac_ros-dev//src/isaac_ros_common: No such file or directory

For some reason, it appears that there is no isaac_ros_common directory. What do I do from here?

Hi Tomas,

looking your error there is something wrong on your installation, please check the setup configuration on your Jetson Orin Nano, following this guide

https://nvidia-isaac-ros.github.io/getting_started/hardware_setup/compute/jetson_storage.html

I already did that step, but I tried it again. I unmounted and reformatted the ssd.

When I got to this part

# Verify that command succeeded
id nvidia | grep docker

I got this error

id: ‘nvidia’: no such user

So I just replaced ‘nvidia’ with ‘${USER}’ and it worked

id ${USER} | grep docker

I was not able to do this step since I did it last time

sudo mv /var/lib/docker /var/lib/docker.old

I was able to do the rest of the process without any issue.

Now, I get to step 3 of setting up the monocular camera

cd ${ISAAC_ROS_WS}/src && \
  git clone -b ros2 https://github.com/ros-drivers/usb_cam

However, I now get this issue

bash: cd: /mnt/nova_ssd/workspaces/isaac_ros-dev//src: No such file or directory

Hi @tomas

Have you clone the Isaac ROS common package?

cd ${ISAAC_ROS_WS}/src && \
   git clone https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common.git

Best,
Raffaello

That step was not in the guide, but I went ahead and cloned it.

Now I’m able to run this command

$ cd ${ISAAC_ROS_WS}/src/isaac_ros_common &&   ./scripts/run_dev.sh

In doing so however, I notice the following error at the end

ERROR: failed to solve: failed to copy: read tcp [2603:9000:6206:e10c:ba94:8fe1:5e3d:8217]:54734->[2600:1408:ec00:22::1735:2370]:443: read: connection reset by peer
/mnt/nova_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common

Here is a text file with the whole output
error.txt (9.0 KB)

And when I try to do step 5, this happens

$ cd /workspaces/isaac_ros-dev
bash: cd: /workspaces/isaac_ros-dev: No such file or directory

Hi @tomas

I tried the demo and I can build and compile following the documentation.
The error appears to be related to a network issue. Have you tried running the script again?

cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \
  ./scripts/run_dev.sh

regarding step 5 must be executed inside the docker container.

Best,
Raffaello

I connected the Jetson to Ethernet. Now whenever I run step 4, I get this error

ERROR: failed to solve: process "/bin/bash -c mkdir -p ${ROS_ROOT}/src && cd ${ROS_ROOT}/src     && git clone https://github.com/ros-planning/moveit_task_constructor.git -b humble     && cd moveit_task_constructor && source ${ROS_ROOT}/setup.bash     && cd msgs && bloom-generate rosdebian && fakeroot debian/rules binary     && cd ../ && apt-get install -y ./*.deb && rm ./*.deb     && cd rviz_marker_tools && bloom-generate rosdebian && fakeroot debian/rules binary     && cd ../ && apt-get install -y ./*.deb && rm ./*.deb     && cd core && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck     && cd ../ && apt-get install -y ./*.deb && rm ./*.deb     && cd capabilities && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck     && cd ../ && apt-get install -y ./*.deb && rm ./*.deb     && cd visualization && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck     && cd ../ && apt-get install -y ./*.deb && rm ./*.deb     && cd demo && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck     && cd ../ && apt-get install -y ./*.deb && rm ./*.deb" did not complete successfully: exit code: 2
/mnt/nova_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common

Hi @tomas

It’s a temporary bug that we are fixing soon, meanwhile you can follow this post for a quickly workaround: Error building isaac ros 3.0 on AGX Orin - #2 by castej10