anqixu / ueye_cam

A ROS nodelet and node that wraps the driver API for UEye cameras by IDS Imaging Development Systems GMBH.
Other
60 stars 102 forks source link

Frame count from camera #69

Open mzahana opened 5 years ago

mzahana commented 5 years ago

Hi @anqixu

I would like to ask if it's possible to get the frame count from the camera side.

To clarify more on my setup, I have a 1226 ueye cam that is externally triggered. Now, when I run the ROS driver, does it publish the frame count since the camera was first triggered, or since the ROS driver was started?

I need to get the frame count since the camera was first triggered, but I am not sure if this supported.

Thanks.

snakehaihai commented 5 years ago

possible. Just add it in the driver publisher code below this

}

993 | } 994 | img_msg_ptr->header.stamp = cam_info_msg_ptr->header.stamp = getImageTickTimestamp();

img_msg_ptr->header.frameid = urframecount