Skip to content

D405 support on ROS1

Bartosz Meglicki edited this page Jan 6, 2023 · 6 revisions

D405 is not officially supported by realsense-ros for ROS1

The original commit with support comes from:

This commit is really a single line change that prevented D405 from working.

Whether this means full support remains a question.

Known Issues

Setting different Depth & RGB resolution

D405 has only two RGB sensors for stereo

  • unlike say D415/D435/D455
    • which have 2x infrared for stereo + RGB + infrared projector

Setting different resolution for depth and RGB

  • doesn't make much sense
  • doesn't result in immediate error
  • but you may get corrupted data

image

So just keep depth & RGB resolution the same.

librealsense version

  • realsense-ros officially supports librealsense 2.50.0 (stated in readme)
  • according to this comment 2.50.0 already supports D405 ("unofficially")
  • official D405 support was added in librealsense 2.51.1

Easiest Way (with ros-[version]-librealsense2)

  • apt install ros-melodic-librealsense2 (or ros-noetic-librealsense2)
    • this is 2.50.0 version
  • build this realsense-ros fork in catkin workspace

This means official support for realsense-ros and non-official support for D405

Alternative Way (with system librealsense2)

The alternative is to:

  • remove ros-[VERSION]-realsense-ros
  • apt install system librealense2 with version >= 2.51.1
  • build this realsense-ros fork in catkin workspace

This means official librealsense2 support for D405 and non-official support for realsense-ros.

Whether there is:

  • some incompatibility between librealsense > 2.50.0 and realsense_ros remains a question
  • something to gain with librealsense > 2.50.0 with D405 remains a question

How this repository was created

  • IntelRealSense/realsense-ros was forked
  • extend branch was created from ros1-legacy
  • fork with D405 commit was added as remote
  • the commit with D405 change was cherry-picked on top of last ros1-legacy commit
  • extend branch was set as default