Skip to content

[WIP] Metsr Sim CoSimulator Implementation#460

Open
Kv139 wants to merge 75 commits intoBerkeleyLearnVerify:METSRSimfrom
Kv139:METSRSim
Open

[WIP] Metsr Sim CoSimulator Implementation#460
Kv139 wants to merge 75 commits intoBerkeleyLearnVerify:METSRSimfrom
Kv139:METSRSim

Conversation

@Kv139
Copy link
Copy Markdown

@Kv139 Kv139 commented Apr 23, 2026

Description

Initial framework in development for facilitating cosimulation for CARLA and METS-R via Scenic

Issue Link

Checklist

  • I have tested the changes locally via pytest and/or other means
  • I have added or updated relevant documentation
  • I have autoformatted the code with black and isort
  • I have added test cases (if applicable)

Additional Notes

lola831 and others added 30 commits November 1, 2024 09:21
…, Reliability, and Cost Efficiency (BerkeleyLearnVerify#310)

* Create and attach a new gp3 volume from the latest snapshot during EC2 instance setup.

* Prevent broken pipe errors during CARLA connection.

* Ensure EC2 instance stops even if tests fail, and perform volume cleanup to avoid AWS costs.

* Increase CARLA connection timeouts to ensure tests pass reliably.
* Fixed scaling-warp issues.

* Fixed wobble, cleaned up, and added debug render mode.

* Added per car width/height scaling.

* Moved scenicToScreenVal int cast.

* Added clarification comment.
* fix require statements inside loops

* fix require statements inside functions

* fix RectangularRegion with random coerced parameter

* fix require statements with random closure variables
…fy#266)

* fix: Adding modifications to codecov.yml

* chore: Adding note on supported Webots version

* fix: update language

---------

Co-authored-by: Armando Banuelos <abanuelo@Armandos-MacBook-Pro.local>
Co-authored-by: Armando Banuelos <abanuelo@Armandos-MBP.lan>
Co-authored-by: Daniel Fremont <dfremont@ucsc.edu>
…-mode (BerkeleyLearnVerify#265)

* fix: Adding modifications to codecov.yml

* feat: Adding new M1 runners to run-test.yml workflow

* feat: adding intel based mac and fast mode

* fix: Adding default fast mode to workflow

* fix: adding just test-full dependency installer

* fix: no need to double count ubunut-latest tests as being covered as part of coverage

* fix: updating coverage to run on 3.12

* fix: adding Pillow reinstallation for run_tests.yml

* fix: updating step

* fix: adding yes options

* fix: updating dependenices for 3.12 Pillow

* fix: avoiding ubuntu as its being covered as part of the coverage run

* fix: Adding lower bound for pillow dependency

* fix fast/slow test selection logic

* workflow calls to run-tests should do all tests by default

---------

Co-authored-by: Armando Banuelos <abanuelo@Armandos-MacBook-Pro.local>
Co-authored-by: Armando Banuelos <abanuelo@Armandos-MBP.lan>
Co-authored-by: Daniel Fremont <dfremont@ucsc.edu>
…leyLearnVerify#249)

Co-authored-by: Armando Banuelos <abanuelo@Armandos-MacBook-Pro.local>
Co-authored-by: Lola Marrero <110120745+lola831@users.noreply.github.com>
Co-authored-by: Armando Banuelos <abanuelo@Armandos-MacBook-Pro.local>
…erify#257)

* chore: Updating examples for CARLA and driving domain

* chore: fixing comments to illustrate use of carla simulator

---------

Co-authored-by: Armando Bañuelos <abanuelo@trurl.soe.ucsc.edu>
Co-authored-by: Armando Banuelos <abanuelo@Armandos-MBP.lan>
* feat: adding webots dynamic simulation, tbd tested

* feat: Adding functional webots tests

* fix: reformatting with black and isort and deleting unnecessary files

* fix: improving code coverage

* fix: black formatting test_webots.py

* Adding codecov yml updates from main branch

* fix: also including tests directory to ignore for coverage, not relevant

* fix: adding checks for environment variables

* fix: adjusting fixture call

* fix: adding webots extension

* fix: adding batch option to avoid popups

* Add timeout to Webots dynamic test

---------

Co-authored-by: Armando Bañuelos <abanuelo@trurl.soe.ucsc.edu>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-23-163.us-west-1.compute.internal>
Co-authored-by: Armando Banuelos <abanuelo@Armandos-MBP.lan>
Co-authored-by: Armando Banuelos <abanuelo@Armandos-MacBook-Pro.local>
Co-authored-by: Lola Marrero <110120745+lola831@users.noreply.github.com>
* apply GHA security improvements suggested by zizmor

* run zizmor in CI

* Update GH_REF reference in check_simulator_version_updates job
---------

Co-authored-by: Lola Marrero <110120745+lola831@users.noreply.github.com>
* fixes for Python 3.13

* allow newer manifold3d versions as the API has stabilized

* bump version number
* ci: add Python 3.13 to tox.ini and test matrix

* Update Sphinx dependency for Python 3.13 compatibility

* reformat code using Black 25.1.0

* Align pre-commit, pyproject.toml, and CI configuration to use Black 25.1.0 and isort 5.12.0 for consistent formatting across environments.

* Remove setup-python step

* Add black formatting commit to .git-blame-ignore-revs
Integration with the MetaDrive simulator.

---------

Co-authored-by: Armando Banuelos <abanuelo@Armandos-MacBook-Pro.local>
Co-authored-by: Armando Banuelos <abanuelo@Armandos-MBP.lan>
Co-authored-by: Armando Banuelos <abanuelo@stanford.edu>
…er (BerkeleyLearnVerify#335)

* Raise ValueError for missing sumo_map in MetaDriveSimulator initializer

* Make sumo_map required param in MetaDriveSimulator

* Trigger update of PR
…y#342)

* add references to UCB and UCSC in the README for the Open Source Browser

* add governance and roadmap to documentation
…#332)

* add speed to Scenic Autopilot

* add autopilot changes

* chore: apply Black formatting to Carla autopilot changes

---------

Co-authored-by: Shreedhar Govil <shreedhar.govil@dfki.de>
Co-authored-by: lola <keepthechange2021@gmail.com>
* disable redundant centering of occupiedSpace

* apply MeshRegion transformations simultaneously

* reduce redundant checks on occupiedSpace

* improve backtrace for errors inside Point @properties

* PolygonalFootprintRegion.containsObject checks convex hull before exact bounding polygon

* speed up bounding box intersection check

* built-in mutators directly modify objects

* [WIP] precompute geometric data when shape/dimensions are fixed

* precompute geometric data when shape/dimensions are fixed

* improve requirement sorting heuristic

* fix collision detection benchmarking

* precompute body count of MeshVolumeRegion

* speed up copying trimeshes when creating MeshRegions

* avoid redundant scale computations for fixed shapes

* reuse occupiedSpace for fixed objects

* compute MeshRegion.mesh lazily

* do circumradius check before computing bounding boxes; skip inradius check unless precomputed

* skip bounding box check if meshes are lazy

* fix transforms of precomputed Shape data; cache MultiPoint of vertices

* minor tweaks & extra tests to cover new lines

* minor fix; more tests

* fix reproducibility issue

* robustify MeshRegion boundingPolygon test
…ibility issues (BerkeleyLearnVerify#346)

* Pin pyglet to ~=1.5 to avoid incompatibility with trimesh

* changed to pyglet >= 1.5, <= 1.5.26
* weekly ci tests

* Finish weekly ci tests workflow
Kv139 and others added 30 commits March 9, 2026 16:05
… for enforcing METSR recognized road selection
…leanred up imports, improved naming conventions, added helpers for road level network calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants