Realsense_splitter: No definition of [realsense2_camera_msgs] for OS version [focal]

I have meet a error in tutorial-realsense

realsense-viewer can work ,

when I run
“cd /workspaces/isaac_ros-dev/ &&
rosdep install -i -r --from-paths src --rosdistro humble -y --skip-keys “libopencv-dev libopencv-contrib-dev libopencv-imgproc-dev python-opencv python3-opencv nvblox””

I get error:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
realsense_splitter: No definition of [realsense2_camera_msgs] for OS version [focal]
Continuing to install resolvable dependencies…

I use AGX xavier, ubuntu20.04, jetpack5.1.1, realsense D455,

how to solve this ?

Thanks, Tom

Hi @user19235 - The error message indicates that the realsense2_camera_msgs package cannot be resolved for Ubuntu 20.04 (Focal). This package is likely a part of the realsense-ros package, which is the ROS wrapper for the Intel RealSense cameras.

Here are some steps you can take to resolve this issue:

  1. Install the realsense-ros package: You can do this by cloning the realsense-ros repository into your catkin workspace and building it. Here are the commands to do this:
cd ~/catkin_ws/src/
git clone
cd ..
  1. Source your catkin workspace: After building the realsense-ros package, you need to source your catkin workspace so that ROS can find the new package. You can do this with the following command:
source ~/catkin_ws/devel/setup.bash
  1. Try running the rosdep install command again: Now that the realsense-ros package is installed, rosdep should be able to resolve the realsense2_camera_msgs package.

solve my error ! thanks !!!

1 Like

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