RoadRunner HD Map create

5 views (last 30 days)
주영
주영 on 12 Aug 2024
Answered: Ayush on 12 Aug 2024
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?

Answers (1)

Ayush
Ayush on 12 Aug 2024
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!