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

Fixed crash on camera reconnect #51

Closed cwecht closed 7 years ago

cwecht commented 7 years ago

Fixed #50.

cwecht commented 7 years ago

The crashes were caused by an negative value in getImageTickTimestamp(). Through the reconnection init_clock_tick_ could be greater than tick (the current clock tick). ros::Time does not allow negative values, so it throws the exception.