-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Publish exposure time #2616
Comments
Hi @schmidtp1 The actual exposure value for depth can be obtained from metadata when auto-exposure is enabled. However, the exposure value for RGB cannot be obtained whilst auto-exposure is enabled, as advised by a RealSense team member at IntelRealSense/librealsense#2549 (comment) Is RGB exposure the metadata type that you are seeking, please? |
Thank you for the quick reply and the helpful reference. That is a bit disappointing that we can't get RGB exposure. Yes, it's the value I'm looking for and the request is about exposing it in ROS (e.g. in form of a topic). |
It may be possible to retrieve the manual RGB camera exposure value using the http://wiki.ros.org/rosparam#rosparam_get
|
Thank you for following up but we need auto-exposure. |
I have highlighted your query about the possibility of RGB exposure metadata to the RealSense ROS team. Thanks very much for your patience! Depth exposure is retrievable during auto-exposure from the metadata parameter ACTUAL_EXPOSURE. |
The advice that I have received is that that ROS publishes all metadata that librealsense exposes, so if librealsense cannot expose RGB exposure metadata when auto-exposure is enabled then ROS cannot publish it either, unfotunately. |
That makes sense. Just to make sure I understand correctly, does "publishes all metadata" mean it is published as a topic, or can be retrieved via parameter (as described above)? |
Regarding publishing to a topic, my colleagues on the RealSense ROS developer team explained that ROS has a generic mechanism that iterates through all of the supported metadata values and writes them on the json string for publishing on the metadata topic. That means it publishes all metadata that the librealsense SDK exposes. Furthermore, librealsense also has a generic mechanism which gets the metadata attributes from the firmware and its validity flag. With the 400 Series' RGB sensor, once you activate auto-exposure then the manual exposure validity flag turns false at the firmware side. This behaviour can be seen in the RealSense Viewer tool. Once you turn on the auto-exposure, the manual exposure value disappears from the metadata list. As the origin of this block is from the firmware, the RealSense ROS team cannot do something about this issue. RGB exposure therefore cannot be retrieved with a ROS wrapper parameter, unfortunately. |
That's great that it is already published (within the known limitations). Thank you for pointing me where to look! Closing |
Would it be possible to publish the exposure time as part of the metadata? Thank you!
The text was updated successfully, but these errors were encountered: