RoadRunner HD Map create

22 次查看(过去 30 天)
주영
주영 2024-8-12,2:26
回答: Ayush 2024-8-12,2:34
Building a loadrunner hd map in the c++ language.
I have a problem defining the lane boundary, so I would like to ask you a question.
I defined it in terms of coordinates, and it comes out like this..
The solid orange line is the next boundary.
Is there a separate method for designating lane boundary coordinates?
If not, is there any document to refer to?
Do I have to define lanes, boundaries, and signs daily when building hd maps?

回答(1 个)

Ayush
Ayush 2024-8-12,2:34
Hi,
To define lane boundary coordinates, you can use the roadrunner.hdmap.LaneBoundary object. This method allows you to create and specify both left and right lane boundaries effectively.
Here is a pseudo-code example illustrating how to define these boundaries:
rrMap.LaneBoundaries(1) = roadrunner.hdmap.LaneBoundary(ID="Left",Geometry=roadCenters-[roadWidth/2 0]);
rrMap.LaneBoundaries(2) = roadrunner.hdmap.LaneBoundary(ID="Right",Geometry=roadCenters+[roadWidth/2 0]);
For more information, you can refer to the documentation:
Hope it Helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by