ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I don't understand all of the code, but I can point out one thing.
dt = dt.to_sec()
There is information missing here for less than one second.
I think you need to use to_nsec()
to make up for the information less than 1 second.