ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
OK I figured it out:
I was supposed to use
#include <pcl_ros/point_cloud.h>
instead of:
#include <pcl/point_cloud.h>
This is very confusing, though.
Why is ROS using so many types (PointCloud, PointCloud2, etc.) with similar features? Why don't they use only the pcl::PointCloud type and then create proper functions to manage it instead of using custom header files?
2 | No.2 Revision |
OK I figured it out:
I was supposed to use
#include <pcl_ros/point_cloud.h>
instead of:
#include <pcl/point_cloud.h>
This is very confusing, though.
Why is ROS using so many types (PointCloud, PointCloud2, etc.) with similar features? Why don't they use only the pcl::PointCloud type and then create proper functions to manage it instead of using custom header files?