metadriverse / metadrive

MetaDrive: Open-source driving simulator
https://metadriverse.github.io/metadrive/
Apache License 2.0
671 stars 100 forks source link

Error in the First Example in the Sensors Section of the Documentation #717

Open xiaobanni opened 1 month ago

xiaobanni commented 1 month ago

The first example in the Sensors section of the documentation (see link: https://metadrive-simulator.readthedocs.io/en/latest/sensors.html#sensors) results in an error. This seems to be a fundamental issue with BaseEnv, as running base_env.py directly also produces the error. Please address this issue.

QuanyiLi commented 3 weeks ago

Thank you for the feedback. This error is raised by the readthedoc server, and it works well on my local machine. We do need to figure out how to let the ReadTheDoc server do the offscreen rendering to avoid this...