How to get image acquisition time from the camera
Hey,
I would like to know if it is possible to get the image acquisition time which is populated from the camera, not by taking the system time. Image message definition says the timestamp in the header of the message should be the acquisition time of the image. But as far as I understand, that timestamp corresponds to the time when the image is received by the system (correct me if I am wrong). How can I get the time which corresponds to camera exposure or the time associated with an image in its metadata?
Regards,
Anand
I don't believe you can state this like this.
Which time specifically will be assigned to the
header.stamp
field will depend on how the driver author has structured things.If a camera provides the exact acquisition time (via its SDK fi) and the driver author uses that timestamp to populate the
header.stamp
, you'll have access to that value.If the driver author decides to use something else, you'll get that "something else".
Thanks for clarifying!