Closed rikba closed 3 years ago
This PR adds a method to compute the difference between two time stamps Duration operator -(const Time &rhs).
Duration operator -(const Time &rhs)
We use this for example to compute the duration between two strobe signals of a camera or to compute durations between reading sensor signals.
I think, this should be added to the noetic release as it is consistent with the roscpp behavior: https://wiki.ros.org/roscpp/Overview/Time
Looks great, and thanks for also updating the test.
This PR adds a method to compute the difference between two time stamps
Duration operator -(const Time &rhs)
.We use this for example to compute the duration between two strobe signals of a camera or to compute durations between reading sensor signals.