Function sensor_msgs::getPointCloud2FieldIndex
Defined in File point_cloud_conversion.hpp
Function Documentation
-
static inline int sensor_msgs::getPointCloud2FieldIndex(const sensor_msgs::msg::PointCloud2 &cloud, const std::string &field_name)
Get the index of a specified field (i.e., dimension/channel)
- Parameters:
cloud – the the point cloud message
field_name – the string defining the field name