Unable to use ROS timestamp
opened this issue · comments
Deleted user commented
Hello
We are unable to configure the driver to use ROS time, getting always a relative time (relative to driver launch).
We tried with client.xml and including the flag --useRosTime
in arguments, but no success.
We also tried to solve this issue and this is what we found:
- In file simple_publisher.h:
- In line 31, in constructor
SimplePublisher( const std::string& topic = "unnamed", bool useRosTime = false)
bothuseRosTime_
anduseRosTime
are true - In line 43 , when running instantiated object's (with SimplePublisher constructor) method "slot",
useRosTime_
is false
- In line 31, in constructor
Please solve this issue
Regards
Ross Taylor commented
Thanks for the information. It appears that a recent refactor may have inadvertently broken this. We'll take a closer look.
VictorAw commented
Thanks for bringing the issue to our attention, and sorry for any problems that it has caused you.
There is a new release, v2.3.1 that should fix the bug. The changes are also reflected on the master branch.