-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about import point Cloud file #987
Comments
The problem is that most .pcd file support PCL function library. However, this tool(lgsvl-simulator) does not support .pcd / .ply files that meet PCL function library requirements, whether there is color filed or not. This is the reason why I hope you can provide me with a point cloud file with color fileds, and I can parse it by myself. or if you can give me some support how to create point cloud file the meets requirements of the lgsvl-simulator, I will be very very thanksful. |
@wisdom-bob We will need to discuss internally when we can add full PCL support to our roadmap. |
PCL is just a library that loads, processes and outputs point cloud files. The format of files it supports can be almost anything. It supports loading & writing any format. But the simulator requires specific fields to be set in point cloud for it to make sense - like xyz for position, color/intensity for coloring. But it won't use other attributes - pcd file can have any amount of extra info associated to each point. To use pcd file with simulator, you need to prepare it to have this necessary information in pcd file. If you have custom data in there, then either you convert it to whatever simulator supports (xyz/intensity), or modify C# import code to use your custom data. Simulator cannot automatically support anything that pcd contains - it's a custom logic that you need to implement somewhere. Here's code code for pcd import: PcdPointProcessor.cs. There's also Ply, Las and Laz format importers in same folder. For example, here's an unmerged pull request that implements RGB color import from pcd files: #770 |
just as you says, I know the simulator can not support all pcl format. I will try the #770. I hope this will help! |
Recently, I'm trying to annotation map according to pointCloud. Now, I only realise to import pointcloud with intensity feature. I hope you can give a .pcd file that can be successufully imported with color feature!
The text was updated successfully, but these errors were encountered: