Template Function sensor_msgs::readPointCloud2BufferValue(const unsigned char *, const unsigned char)

Function Documentation

template<typename T>
inline T sensor_msgs::readPointCloud2BufferValue(const unsigned char *data_ptr, const unsigned char datatype)

Converts a value at the given pointer position interpreted as the datatype specified by the given datatype parameter to the given template type and returns it.

Parameters:
Template Parameters:

T – return type