Hacker News new | ask | show | jobs
by krisoft 760 days ago
> a foot is roughly equal to a nanosecond

I used to work with a company who insisted on timestamping their sensor data with nanosecond accuracy. Mind you they were not working on anything high speed, or explosive in nature. Just robots moving around at best with highway speeds.

I asked them if they care so much about the accuracy will they also adjust their data for time-of-flight delays. Since by the time the light bouncing from an object hits your lidar/camera meters away what you are sensing is several nanoseconds the past.

To top it off they stored the nanoseconds elapsed since the unix epoch as a float double. So floating point weirdness immediately destroyed all the precision they worked so hard on.

2 comments

Was it for replaying sensor data later for testing? Still funny that they lost resolution anyway.
Storing nanoseconds as a double is probably the dumbest thing I've heard this week.