Invalid parameter value (63) in realsense2_camera_node - How to fix?

Hi, I am using an Intel RealSense camera with the realsense2_camera ROS2 driver. When running my object detection node in stretch deep perception , I get the following error in the logs:

[realsense2_camera_node-4] [ERROR] [xxxxx]: Given value, 63 is invalid. Set ROS param back to 100

After this, the camera stops the depth and RGB sensors. So the Rviz opens but no Image is detected .

I suspect a parameter (possibly frame rate, exposure, or gain) is being incorrectly set to 63, but I am not sure which one.

What I’ve Tried:

  1. Listing active parameters using:
ros2 param list /realsense2_camera_node

In this it was saying node not found . Can someone help me with this problem .

Hi @Mayank_Anand , could you post the full log of the error you are facing ?
The error message you mention realted to parameter Given value, 63 ... can be ignored and it shouldn’t be causing any issues.
If you are running the realsense node from Stretch ROS2, for example:

ros2 launch stretch_core d435i_high_resolution.launch.py

The namespace of the node would be /camera and you can inspect if the camera data is being streamed by echoing any camera image topic or check the params using the following commands.

ros2 topic echo /camera/color/image_raw
ros2 param list /camera