Template Function nebula::drivers::robosense_packet::get_dis_unit

Function Documentation

template<typename PacketT>
double nebula::drivers::robosense_packet::get_dis_unit(const PacketT &packet)

Get the distance unit of the given packet type in meters. Distance values in the packet, multiplied by this value, yield the distance in meters.

Template Parameters:

PacketT – The packet type

Parameters:

packet – The packet to get the distance unit from

Returns:

The distance unit in meters