Can I use Roadrunner to import point cloud file in PCD format and export it to Opendrive high precision map XODR format? If so, how does it work? Looking forward to your reply。
38 views (last 30 days)
Show older comments
Like this?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/472187/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/472187/image.jpeg)
3 Comments
Rafael Barea Navarro
on 23 Feb 2021
Hi,
I have exactly the same problem.
Have you solve it yet?
Thanks
GJJ
on 15 Apr 2021
Hello. Would love to know the same as well. This is a process that I desire and I am looking for a method to make it happen.
Answers (3)
Daniel Panker
on 5 May 2021
You can use the point cloud (.las) and the elevation (.tif) file as a reference. Its like a 3D background image, where you can "lay down" roads with high accurecy. After the modeling, you can export it as Opendrive.
2 Comments
辉磊 孟
on 16 Mar 2022
Could you give more information about importing PCD into roadrunner?
It will be better If you can introduce some tutorials.
Peter Fryscak
on 13 Apr 2022
There is some more information on PCD and RoadRunner here: Manage import and configuration of lidar point cloud files - MATLAB (mathworks.com)
Hannes Imschweiler
on 27 Jun 2022
I would like to know the same thing. Can you input coordinates to exactly layout the roads?
I have the road isolated in blender as a mesh. If I just could use this mesh to generate an .xodr it would solve all my problems.
Thank you :)
0 Comments
PORTER PAN
on 18 Apr 2024
Edited: PORTER PAN
on 18 Apr 2024
1. condition
For the Point Cloud Tool to properly load PCD files, the files must have these properties in their headers:
- FIELDS x y z — These fields must be and .SIZE 4TYPE F
- DATA — The data type must be , , or.asciibinary binary_compressed
If the file specifies colors for the points, it must also contain an or field with these properties:intensityrgba
- FIELDS intensity — This field must be and .SIZE 4TYPE F
- FIELDS rgba — This field must be and .SIZE 4TYPE U
To toggle display of point clouds, select View > Point Clouds on the menu bar or press the F6 key.
2.load to roadrunner
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1672481/image.png)
3. click menu of view select Point Cloud
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1672486/image.png)
4.drag the point cloud file to workspace window
...
5.select "Sorld Settings Tool" set the display area(important)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1672491/image.png)
you should set Workspace big enough, biger than you point cloud max(x,y),or not dispaly if you map point value (x,y) is big and you set workspace is small.
you can set the Workspace area(x,y) to (3000000, 30000000), not recommend.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1672496/image.png)
0 Comments
See Also
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!