Import Custom Map in Nvidia drive

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version

Target Operating System

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)

SDK Manager Version

Host Machine Version
native Ubuntu 18.04

I have created an HD Map with Roadrunner Mathworks software and exported it in an OpenDrive format. I followed the instructions in the documentation to transform it to dwMaps. However, when I try to validate it with the Driveworks Maps Inspection Tool, the map is not visible. What may the problem be?


1 Like

Dear @siomari,
Do you see any error in terminal log? Is it possible to share map to reproduce?

My terminal log is:

[18-02-2022 09:16:25] Platform: Detected Generic x86 Platform
[18-02-2022 09:16:25] TimeSource: monotonic epoch time offset is 1644909124065366
[18-02-2022 09:16:25] Platform: number of GPU devices detected 1
[18-02-2022 09:16:25] Platform: currently selected GPU device discrete ID 0
[18-02-2022 09:16:25] SDK: Resources mounted from …/…/data/
[18-02-2022 09:16:25] TimeSource: monotonic epoch time offset is 1644909124065366
[18-02-2022 09:16:25] Initialize DriveWorks SDK v2.2.3136
[18-02-2022 09:16:25] Release build with GNU 7.4.0 from heads/buildbrain-branch-0-gca7b4b26e65
[18-02-2022 09:16:25] Initialize DriveWorks VisualizationSDK v2.2.3136
[18-02-2022 09:16:25] Initialize DriveWorksGL SDK v2.2.3136
[18-02-2022 09:16:25] GL-SDK: initialize OpenGL
[18-02-2022 09:16:25] Maps: Reading map data from “/media/maria/KINGSTON/test.xml” …[18-02-2022 09:16:25] reading done.
[18-02-2022 09:16:25] MapSanityChecker: Checking sanity of all road segments…
[18-02-2022 09:16:25] MapSanityChecker: Road segment with 0 connections detected! (1/1)
[18-02-2022 09:16:25] MapSanityChecker: Sanity check complete.
[18-02-2022 09:16:25] Driveworks exception thrown: DW_BUFFER_FULL: LocalLayout: Capacity exceeded.

[18-02-2022 09:16:25] Building Local layout failed

The map I use:
test.txt (57.8 KB)

Hello, I also upload the OpenDRIVE(xodr)
test.xodr (8.3 KB)
test.geojson (92.4 KB)

file I export from RoadRunner and
attached a screenshot of my test road.

From my understanding, I have a problem determining the points in the geometry tag. Is there a specific way to calculate them, knowing the geo-referenced points?

Hi @siomari
Could you show me which document you followed? Please see if the following topics help on your case.

From DriveWorks SDK Reference I followed the Importing Custom Maps Data and consulted the Structs for Map Data and the dwMaps.xsd file.

I saw the links, thank you!

My question is: How can I get the lanes in coordinates of the road segment coordinate system? eg. by taking out each geopoint from the origin? is that logic right? Or should I do something different?