View my account

Comments

4 comments

  • MartyG

    Hello, please try removing the "viewer" instructions inside the red box that you highlighted and also the pink colored closing } bracket just outside of the bottom of the red box.  This information in the box about setting the resolution and FPS is not needed for a ROS launch as the launch file sets these values.

    1
    Comment actions Permalink
  • 313445456

    Thank you for your reply. I don't see any option like color_witdh, color_height, color_fps and so on from the rs_launch.py file.   I use  RealSense ROS v4.54.1 on ros2 humble . I want to set the depth image and color image to the same size and fps to increase the rate /aligned_depth_to_color/image_raw. it only 7,please help me

    0
    Comment actions Permalink
  • MartyG

    You can set the resolution and FPS in the launch instruction of the the ROS2 wrapper with profile commands, which are the replacement for the stream width and height commands in the ROS1 wrapper.  For example, to set both depth and color to 848x480 and 15 FPS

     

    ros2 launch realsense2_camera rs_launch.py depth_module.depth_profile:=848x480x15 rgb_camera.color_profile:=848x480x15

     

    0
    Comment actions Permalink
  • 313445456

    Thank you! I used the command you provided, and now it is working normally 

    ros2 launch realsense2_camera rs_launch.py depth_module.depth_profile:=848x480x15 rgb_camera.color_profile:=848x480x15
    0
    Comment actions Permalink

Please sign in to leave a comment.