How to get the current exposure time using argus

Hi,

I’m using the Argus API to control a camera, and I would like to get the current exposure time. I can use getExposureTimeRange() to get the range that was set, but is there any way to get the actual exposure time that is currently in use?

I saw in this post that this was not supported as of a few years ago. As suggested in that post, I can use v4l2-ctl to query the current exposure time, but it would be nice to be able to check this through the Argus API within our app. Is this still unsupported? Or is there any way to query the current exposure time?

Thanks,
Bryan

Use Argus::ICaptureMetadata::getSensorExposureTime() for it.

https://docs.nvidia.com/jetson/l4t-multimedia/classArgus_1_1ICaptureMetadata.html#a0bff976e9d1dfd965145e5c18f91fbb0

Thanks! I’ll look into using this function.