Lidar_AI_Solution
Lidar_AI_Solution copied to clipboard
how to convert nv::Tensor lidar_points to pcl::PointCloud<pcl::PointXYZI>
Hi! Have u tried ROS to finish visualization ? I don't know how to convert them correctly.
Nv::Tensor is just a data structure that stores a matrix. You can get its raw data pointer. There is nothing special about it.
Sorry, Could you please show me in detail? How to get the position of every point with nv::Tensor type?
In Cuda_BEVFusion/src/main.cpp, auto lidar_points = nv::Tensor::load(nv::format("%s/points.tensor", data), false); Then I'v tried std::cout<<(unsigned short)lidar_pointes.ptr