Error when running VSLAM using intel realsense D435i in Jetson orin nano

ros2 launch isaac_ros_visual_slam isaac_ros_visual_slam_realsense.launch.py
[INFO] [launch]: All log files can be found below /home/admin/.ros/log/2024-01-14-12-32-58-773667-zainmfd-26333
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): “package ‘realsense2_camera’ not found, searching: [‘/opt/ros/humble’]”
[INFO] [component_container-1]: process started with pid [26344]
[component_container-1] [INFO] [1705215779.523486820] [visual_slam_launch_container]: Load Library: /opt/ros/humble/lib/libvisual_slam_node.so
[component_container-1] [INFO] [1705215779.724366936] [visual_slam_launch_container]: Found class: rclcpp_components::NodeFactoryTemplatenvidia::isaac_ros::visual_slam::VisualSlamNode
[component_container-1] [INFO] [1705215779.724568764] [visual_slam_launch_container]: Instantiate class: rclcpp_components::NodeFactoryTemplatenvidia::isaac_ros::visual_slam::VisualSlamNode
[component_container-1] [INFO] [1705215779.927537267] [visual_slam_node]: cuVSLAM version: 11.4
[INFO] [component_container-1]: sending signal ‘SIGINT’ to process[component_container-1]
[component_container-1] [INFO] [1705215780.323962372] [rclcpp]: signal_handler(signum=2)
[WARNING] [launch_ros.actions.load_composable_nodes]: Abandoning wait for the ‘/visual_slam_launch_container/_container/load_node’ service response, due to shutdown.
[ERROR] [component_container-1]: process[component_container-1] failed to terminate ‘5’ seconds after receiving ‘SIGINT’, escalating to ‘SIGTERM’
[INFO] [component_container-1]: sending signal ‘SIGTERM’ to process[component_container-1]
[component_container-1] [INFO] [1705215785.302985914] [rclcpp]: signal_handler(signum=15)
[ERROR] [component_container-1]: process[component_container-1] failed to terminate ‘10.0’ seconds after receiving ‘SIGTERM’, escalating to ‘SIGKILL’
[INFO] [component_container-1]: sending signal ‘SIGKILL’ to process[component_container-1]

I follow this doc Tutorial for Visual SLAM Using a RealSense Camera with Integrated IMU — isaac_ros_docs documentation

Hi @zainmuhammed508

Welcome to the Isaac ROS forum. Looking at your log the realsense2_camera node is not found, and I think you didn’t follow the documentation to install the realsense camera driver and the ROS2 package.

Please follow the point number 1 of the guide:
https://nvidia-isaac-ros.github.io/getting_started/hardware_setup/sensors/realsense_setup.html

I am having the same issue like running the following command is giving error
ros2 launch isaac_ros_visual_slam isaac_ros_visual_slam_realsense.launch.py
same error of realsense2_camera not found. I also recheck my installing for the realsense2 camera from the setup guide and it’s ok when i am running
realsense-viewer in the terminal it showing the camera

Also when i am doing colcon build i am geeting error of
xf_isaac_ess/gxf/extensions/ess/components/ess_inference.cpp:18:
/workspaces/isaac_ros-dev/src/isaac_ros_dnn_stereo_depth/gxf_isaac_ess/gxf/extensions/ess/inference/ESS.h:25:10: fatal error: extensions/tensorops/core/Array.h: No such file or directory
25 | include “extensions/tensorops/core/Array.h”

xf_isaac_ess/gxf/gems/dnn_inferencer/inferencer/TensorRTInferencer.cpp:17:
/workspaces/isaac_ros-dev/src/isaac_ros_dnn_stereo_depth/gxf_isaac_ess/gxf/gems/dnn_inferencer/inferencer/Errors.h:20:10: fatal error: extensions/tensorops/core/CVError.h: No such file or directory
20 | include “extensions/tensorops/core/CVError.h”

although i installed it from the guide

Hi @musmannoor2004 I had this error today as well despite having run it successfully many times in the past. Removing all github links shown from the steps, including Realsense Setup and those from Quickstarts, and re-cloning them solved this problem for me. Maybe you can give it a try.

Ho @AustinCTH

I noticed from other posts by @musmannoor2004 that they were working with the wrong Jetpack; maybe this issue also relates to you.

Please check if you are working with Jetpack 6.0 Getting Started — isaac_ros_docs documentation

1 Like

Hi @Raffaello ,

I am using Jetpack 6.0 as well. So far this error has not emerged again.

2 Likes

no error after using the Jetpack 6.0

1 Like

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