Function ouster_ros::impl::ts_safe_offset_add

Function Documentation

inline uint64_t ouster_ros::impl::ts_safe_offset_add(uint64_t ts, int64_t offset)

simple utility function that ensures we don’t wrap around uint64_t due to a negative value being bigger than ts value in absolute terms.

Remark

method does not check upper boundary