commaai/openpilot

Run MetaDrive simulation test in GitHub Actions

adeebshihadeh opened this issue · 4 comments

Requirements:

  • runs on the free for open source Actions instances (can't use a higher tier one)
  • reliable, passes 20+ times in a row
  • runs in real time: 1m of driving in openpilot is equivalent to 1m in CI time
  • logs (qlog, rlog, and camera files) uploaded as an artifact

https://github.com/commaai/openpilot/blob/master/tools/sim/tests/test_sim_bridge.py

@adeebshihadeh can i pick this task ?

Hey @adeebshihadeh , It this still available? I want to work on this.

Is that even possible? I made a simple test. I started a local Xvfb with:

Xvfb :2 -screen 0 2160x1080x24

Then I launched:

DISPLAY=:2 ./scenarios/metadrive/stay_in_lane.py

And it got stuck on https://github.com/commaai/openpilot/blob/master/tools/sim/bridge/metadrive/metadrive_world.py#L44 for several minutes after which I lost patience and killed it.

Is this still open ? 👀