我得到以下样本代码的编译器错误,这是从PCL教程PCL转换请求
pcl::PointCloud<pcl::PointXYZ> cloud;
std::vector<pcl::PointXYZ> data = cloud.points;
http://pointclouds.org/documentation/tutorials/basic_structures.php
完整编译错误是
> error: conversion from ‘std::vector<pcl::PointXYZ,
> Eigen::aligned_allocator<pcl::PointXYZ> >’ to non-scalar type
> ‘std::vector<pcl::PointXYZ>’ requested
我目前的pcl版本是pcl 1.6,它在我安装ROS groovy时安装,所以我不确定这是否是问题所在。