simulator icon indicating copy to clipboard operation
simulator copied to clipboard

Import HD map Lanelet2 fail? InvalidOperationExecption: Nullable object must have a value.

Open llu0120 opened this issue 3 years ago • 5 comments

I'm trying to use the lgsvl simulator and I'm using the tag 2021.3 in the simulator repo. However, when I'm trying to import my lanelet2 map into the simulator, I can't see my map inside unity and report an error below. Has anyone confront this before and can help with this? Thanks in advance.

image

llu0120 avatar Feb 16 '22 19:02 llu0120

You most likely have an error in the hdmap or an corner case that the importer can't handle. You will need to trace the import and see what part is causing the exception.

EricBoiseLGSVL avatar Feb 18 '22 22:02 EricBoiseLGSVL

Hi @EricBoiseLGSVL, Thanks for your reply. I've tried to import the example lanelet2 map from BorregasAve, but the import visualization looks strange as well. image

Looks like only the traffic lights are being imported. Is it normal? Or how can I visualize the lanes, boundaries...etc?

Thanks in advance

llu0120 avatar Feb 21 '22 19:02 llu0120

Do you have generate mesh setting enabled in the import settings?

EricBoiseLGSVL avatar Feb 23 '22 18:02 EricBoiseLGSVL

no, but I can see the lanes when clicking view all in the HD Map Annotation mode. Is that normal? Thanks!

llu0120 avatar Feb 24 '22 18:02 llu0120

Yes, this is just annotation data, not a drive-able mesh.

EricBoiseLGSVL avatar Feb 24 '22 18:02 EricBoiseLGSVL