Nvblox requires reinstall each container restart

I have followed the isaac_ros_nvblox quickstart to get it working and displaying live data using realsense in rviz but when I exit the container then restart, it won’t work.

I am running on a Jetson Orin NX with jetpack 6.2, using a D455f. The error I get when running

ros2 launch nvblox_example_bringup realsense_example.launch.py

is

[ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught multiple exceptions when trying to load file of format [py]:
 - ModuleNotFoundError: No module named 'isaac_ros_launch_utils'
 - InvalidFrontendLaunchFileError: The launch file my have a syntax error, or its format is unknown

I am also sourcing install/setup.bash after entering the container.

It may be unrelated but I have also noticed that during the colcon build command for isaac_ros_nvblox, there is an error:

ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any

It gives this error for nvblox_msgs, nvblox_ros_python_utils and nvblox_test.

Then once I complete the steps for installation from source for isaac_ros_nvblox it will work again until I restart the container and get the same error.

Any tips on the issue would be much appreciated.

Hi @darren57

Welcome to Isaac ROS forum. Thank you for your post.

Once the container restarted, it’s required to install the dependencies of isaac_ros_nvblox that you ever built in the workspace for running the demo.

sudo apt-get update
rosdep update && rosdep install -i -r --from-paths ${ISAAC_ROS_WS}/src/isaac_ros_nvblox/ --rosdistro humble -y
source install/setup.bash

If your intention is to have some packages pre-installed in container image, please follow this guideline to customize your development environment.
https://nvidia-isaac-ros.github.io/concepts/docker_devenv/index.html

Best,
Ahung

1 Like

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