Closed furgalep closed 10 years ago
not sure, is it really convenient to do math with it? I assume we're going to do more complex things than just adds ...
I think that a simple comment next to the definition of Time should do the trick.
We agreed in RoboChunk to have 32-bit integers x2 for a total of 64 bits.
https://github.com/ethz-asl/robochunk/issues/10
I'm about to add time in libpointmatcher and this is part of the common interface. Treat that carefully.
Are we good to go sticking with 64-bit integer nanoseconds since epoch?
for me, as long as we are coherent through the different projects, 64-bit integer is fine.
I think this makes it more clear that time is integer nanoseconds.
Anyone disagree?