我得到以下樣本代碼的編譯器錯誤,這是從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時安裝,所以我不確定這是否是問題所在。