View my account

D555 PoE

Comments

7 comments

  • MartyX Grover

    Hi Usef Desouky  If the problem started when you edited the ROS2 bashrc file, could you try resetting the file with the command below, which restores the file from a default template?

    cp /etc/skel/.bashrc ~
    0
    Comment actions Permalink
  • Usef Desouky

    But I need to change the camera domain id to match the ROS_DOMAIN_ID I have set not the opposite

    here are some logs of the recent command so you can understand the problem 



    top left: ping camera ip and cant detect camera over ethernet

    bottom left: rs-dds-sniffer on domain id 22 as the dds domain id in .realsense-config.json  set to 22

    top right: rs-dds-sniffer on domain id 0

    bottom right: locally exported ROS_DOMAIN_ID to 0 and on ros2 topic list I got the topics listed

     

    The issue that the camera is not discoverable and I need to get the topics listed on the ROS_DOMAIN_ID 22

    0
    Comment actions Permalink
  • MartyX Grover

    My research of ROS_DOMAIN_ID=22 indicates that it is used to isolate nodes so that they will only communicate with other nodes, computers or robots that use ROS_DOMAIN_ID=22.  Is this what you are attempting to do with your configuration, please?

     

    Is the RealSense DDS topic list detectable if you manually set the ID to 22 before you list the topics instead of relying on the automated definition in the bashrc file?

     

    export ROS_DOMAIN_ID=22
    ros2 topic list

     

    My research indicates that RealSense topics should be listable when the domain is set to 22.  However, those successes were in cases where the RealSense ROS2 wrapper had been installed and its node launched with the rs_launch.py launch file before echoing the topics.  For example:

     

    export ROS_DOMAIN_ID=22

    ros2 launch realsense2_camera rs_launch.py

    ros2 topic list

     

    My understanding is that when echoing the short list of RealSense DDS topics, a RealSense node is not yet active until the RealSense ROS2 wrapper has been launched by the user with rs_launch.py.  The short RealSense DDS topic list is able to be published without the RealSense ROS2 wrapper being launched because D555 is interoperable with Fast DDS, the middleware powering ROS 2.

    0
    Comment actions Permalink
  • Usef Desouky
    My research of ROS_DOMAIN_ID=22 indicates that it is used to isolate nodes so that they will only communicate with other nodes, computers or robots that use ROS_DOMAIN_ID=22.  Is this what you are attempting to do with your configuration, please?

    yes this is what I am attempting as the whole robot system runs on the ROS_DOMAIN_ID 22 and I want the camera topics to be discoverable across the system.

    Is the RealSense DDS topic list detectable if you manually set the ID to 22 before you list the topics instead of relying on the automated definition in the bashrc file?

    Unfortunately, no

    I tried launching with ROS_DOMAIN_ID 0 and ROS_DOMAIN_ID 22 but both had the same result

    ~$ ros2 launch realsense2_camera rs_launch.py 
    [INFO] [launch]: All log files can be found below /home/husarion/.ros/log/2026-06-03-15-29-16-907939-husarion-18475
    [INFO] [launch]: Default logging verbosity is set to INFO
    [INFO] [launch.user]: 🚀 Launching as Normal ROS Node
    [INFO] [realsense2_camera_node-1]: process started with pid [18478]
    [realsense2_camera_node-1] [INFO] [1780493357.319832862] [camera.camera]: RealSense ROS v4.57.7
    [realsense2_camera_node-1] [INFO] [1780493357.319947771] [camera.camera]: Built with LibRealSense v2.57.7
    [realsense2_camera_node-1] [INFO] [1780493357.319973196] [camera.camera]: Running with LibRealSense v2.57.7
    [realsense2_camera_node-1] [WARN] [1780493357.330568983] [camera.camera]: No RealSense devices were found!
    [realsense2_camera_node-1] [WARN] [1780493363.335267136] [camera.camera]: No RealSense devices were found


    I think we need to schedule meeting to solve this issue, kindly send me your contact details

    0
    Comment actions Permalink
  • MartyX Grover

    This RealSense support channel can only provide advice via web comments, unfortunately.

     

    Are you able to uninstall and reinstall ROS2 Jazzy to see whether the earlier configuration problems produced when the ROS_DOMAIN_ID was set in the bashrc file disappear?

     

    Have you previously tried accessing the topics with ROS2's default FastDDS to confirm whether or not the problem is related to use of cyclone_dds_rmw as you encountered some warnings?

    0
    Comment actions Permalink
  • Usef Desouky

    no I cant reinstall ROS2 as its natively installed and this will delay the robot development.
    do you have a ready docker image for the d555 realsense with ros2?

    No I havent tried to use fastdds as cyclone is recommended by the robot provider

    0
    Comment actions Permalink
  • MartyX Grover

    We do not have a ready-made official Docker image for ROS2.  Some RealSense ROS2 users have shared their Docker contents.  However, they are often designed for Nvidia Jetson, though the link below has one for PCs (amd64).

    https://github.com/2b-t/realsense-ros2-docker

    0
    Comment actions Permalink

Please sign in to leave a comment.