Function rtabmap_ros::sizeOfPointField

Function Documentation

inline int rtabmap_ros::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)