Function rtabmap_conversions::sizeOfPointField

Function Documentation

inline int rtabmap_conversions::sizeOfPointField(int datatype)

Return the size of a datatype (which is an enum of sensor_msgs::PointField::) in bytes

Parameters:

datatype – one of the enums of sensor_msgs::PointField:: Note: Missing function in ros2 (from old pcl_ros)