openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

Run MetaDrive simulation test in GitHub Actions

Open adeebshihadeh opened this issue 1 year ago • 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 avatar Dec 12 '23 05:12 adeebshihadeh

@adeebshihadeh can i pick this task ?

Krishna2864 avatar Dec 16 '23 20:12 Krishna2864

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

hritikmunde avatar Dec 29 '23 21:12 hritikmunde

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.

mimi89999 avatar Apr 09 '24 09:04 mimi89999