SBG-Systems / sbg_ros_driver

ROS 1 driver for SBG Systems IMU/AHRS/INS units such as ELLIPSE or QUANTA.
https://www.sbg-systems.com
MIT License
75 stars 43 forks source link

Read ROS time when publishing the message instead of using the handle loop time #52

Closed rsiryani closed 3 years ago

rsiryani commented 3 years ago

Even if it's less accurate timing, we should always read the ROS system time when we parse a new message. This will avoid duplicated timestamps in published messages.

It's clearly less accurate (absolute timing) than the current implementation but ROS is not designed for real time nor accurate applications anyway...