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?

답변 (2개)

Ayush
Ayush 2024년 8월 12일

1 개 추천

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!
Sravan Kumar Chaganti
Sravan Kumar Chaganti 2025년 2월 19일

0 개 추천

Hi,
The below example will demonstrate how to create a RoadRunner HD map which uses C++ to implement the RoadRunner HD Map using protocol buffers. This example would also better assist how to define lanes, lane boundaries and lane markings.

카테고리

질문:

2024년 8월 12일

답변:

2025년 2월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by