BerkeleyLearnVerify / Scenic

A compiler and scenario generator for the Scenic scenario description language.
https://scenic-lang.org/
Other
287 stars 101 forks source link

Failed load custom xodr file #295

Open axxx-xxxa opened 3 months ago

axxx-xxxa commented 3 months ago

System Details

Python Version (Python 3.8.18) Scenic Version (Scenic 3.0.0) Operating System / Platform (ubuntu 18) Simulator Version (Optional, only applies if bug is simulator specific) (e.g. CARLA 0.9.13)

Detailed Description

The compressed file contains two XODR files generated from OSM. They load correctly in CARLA, but errors occur when loading the map in Scenic.

Detailed errors can be found in the logs:

osmgenerate.xodr - log-osmgenerate shenzhen_window_of_the_world_center.xodr - log-shenzhen_window_of_the_world_center

issue.zip

Steps To Reproduce

  1. Modify my.scenic xodr path
  2. Run "bash run_my.sh" or "scenic my.scenic --2d --simulate --model scenic.simulators.carla.model --time 200"

Issue Submission Checklist

Eric-Vin commented 2 months ago

Sorry for the delay in responding to this! I've confirmed our parser fails to handle these, and we'll try to address it in PR #293.