BerkeleyLearnVerify / Scenic

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

Sensors #195

Open theilem opened 9 months ago

theilem commented 9 months ago

Sensors implementation with a Carla example

dfremont commented 8 months ago

Hi Mirco, the CI is failing since we now enforce certain formatting requirements. See here for how to get the formatters to run automatically when you commit; for a one-time fix for the files you've already committed, you can run make format in the root directory of the repo.

Speaking of CI, it would be great if you could add some tests for the new functionality to the test suite (maybe in tests/syntax/test_dynamics.py, next to the test for the record statement). We can't test the CARLA implementation right now, but your test could implement a dummy sensor (e.g. one that returns the ground-truth position) just so we can check that the overall flow works correctly.