ros-drivers / libuvc_ros

http://www.ros.org/wiki/libuvc_ros
82 stars 95 forks source link

use libuvc timestamp correctly #53

Closed jfreymuth closed 5 years ago

jfreymuth commented 5 years ago

The timestamp from libuvc contains microseconds, the ros::Time constructor wants nanoseconds. This has not caused any issues yet because libuvc never sets the timestamp, but it will break if libuvc is ever updated to provide a timestamp.