Template Function nebula::drivers::robosense_packet::get_timestamp_ns

Function Documentation

template<typename PacketT>
uint64_t nebula::drivers::robosense_packet::get_timestamp_ns(const PacketT &packet)

Get timestamp from packet in nanoseconds.

Template Parameters:

PacketT – The packet type

Parameters:

packet – The packet to get the timestamp from

Returns:

The timestamp in nanoseconds