D435 use rs_launch.py json file but dont work,What should I do
I had set json_file_path in rs_launch.py file. But I found it dont work.
-
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.
-
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
-
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
Please sign in to leave a comment.
Comments
4 comments