Error when using principal component analysis (PCA) with Point Clouds in ROS
I would like to use PCA on the point clouds to find the lane. So the principal component analysis should work fine for this problem. So I’m not sure how to correctly use PCA with Point Clouds and ROS. Here is the code that I have created so far: #include <iostream> #include "ros/ros.h" #include "std_msgs/String.h" #include <vector> #include <sensor_msgs/LaserScan.h> #include <sensor_msgs/PointCloud2.h> #include <sensor_msgs/PointCloud.h> #include <laser_geometry/laser_geometry.h> #include <tf/transform_listener.h> #include <Eigen/Core> #include <pcl_ros/point_cloud.h> #include <pcl/point_types
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.