Function octomap::pointCloud2ToOctomap

Function Documentation

void octomap::pointCloud2ToOctomap(const sensor_msgs::msg::PointCloud2 &cloud, octomap::Pointcloud &octomapCloud)

Conversion from a sensor_msgs::PointCLoud2 to octomap::Pointcloud, used internally in OctoMap.

Parameters:
  • cloud

  • octomapCloud