IntelRealSense / realsense-ros

ROS Wrapper for Intel(R) RealSense(TM) Cameras
http://wiki.ros.org/RealSense
Apache License 2.0
2.59k stars 1.76k forks source link

dynamically set the exposure mode and exposure parameters in my RealSense ROS program #3255

Open JasonWang9805 opened 2 hours ago

JasonWang9805 commented 2 hours ago
Required Info
Camera Model { D435i }
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version { Linux (Ubuntu 18/20/22) }
Kernel Version (Linux Only) (e.g. 5.4)
Platform NVIDIA Jetson
Librealsense SDK Version { 2.<?>.<?> }
Language {C/C#/labview/opencv/pcl/python/unity }
Segment {Robot }
ROS Distro {etc.. }
RealSense ROS Wrapper Version {4.51.1, 4.54.1, etc..}

Issue Description

Hello, I found that I can't use the "rosrun dynamic reconfigure dynparam" command to dynamically set the exposure mode and exposure parameters in my RealSense ROS program. Because I noticed that there are no topics like "/camera/color/enable_auto_exposure" and so on. What could be the cause of this? On another processor of mine, there are such topics and I can set them normally.

MartyG-RealSense commented 2 hours ago

Hi @JasonWang9805 If you use the command rosrun rqt_reconfigure rqt_reconfigure to access the graphical interface for changing the parameters, do you have an rgb_camera category in the side-panel of the rqt_reconfigure interface that has RGB options within it?

https://github.com/IntelRealSense/realsense-ros/tree/ros1-legacy?tab=readme-ov-file#set-camera-controls-using-dynamic-reconfigure-params

image