RoadRunner HD Map create

조회 수: 5 (최근 30일)
주영
주영 2024년 8월 12일
답변: Ayush 2024년 8월 12일
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일
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