Environment
Please complete the following information.
ROS distribution: noetic
Operating system: 20.04
Python version: 3.8
natnet_ros version
Try the latest commit in the dev branch in case your issue is already fixed.
natnet_ros branch: dev
Describe the bug
When running the driver with ros noetic under python 3.8, the timestamps are not in the expected time reference.
As is described in the python_natnet package, the time source used for the timestamps is timeit.default_timer.
The source for timeit.default_timer seems to change between python2.7 (where it is time since last epoch) and python 3.8 (where it seems to be since boot time of the system).
This means, that in noetic which uses python 3.8, the timestamps don't match and are not usable for tf transforms etc.
Environment
Please complete the following information.
ROS distribution: noetic
Operating system: 20.04
Python version: 3.8
natnet_rosversionTry the latest commit in the
devbranch in case your issue is already fixed.natnet_rosbranch: devDescribe the bug
When running the driver with ros noetic under python 3.8, the timestamps are not in the expected time reference.
As is described in the python_natnet package, the time source used for the timestamps is timeit.default_timer.
The source for timeit.default_timer seems to change between python2.7 (where it is time since last epoch) and python 3.8 (where it seems to be since boot time of the system).
This means, that in noetic which uses python 3.8, the timestamps don't match and are not usable for tf transforms etc.