LORD-MicroStrain/microstrain_inertial

How to configure device timestamping?

Opened this issue · 4 comments

I'm using a GQ7 and would like the driver to output IMU data based on the internal (presumably GPS time sync'd) clock, not the ROS time when the packet was received. It looks like in the past there was a 'use_device_timestamp' parameter you could configure, but this has since been removed. Is there still a way to do this?

It seems like we should be able to add that parameter back, and just have that option be read in the updateHeaderTime method. The GPS timestamp is already being passed into that method, but just isn't being used.

Are there any methods on how to use the "use_device_timestamp" parameter with the current version? It seems weird that this functionality has been removed.

I am working on re implementing this for the driver. This was removed when releasing 4.0.0 in order to update and improve the timestamping feature, but due to some other priorities never got added back. I will link to the PR once it is open

Ok thanks for the reply.

So currently the timestamp is based on the system time of the PC am I right?