Skip to content

OpenCDA-MARL v2.2.1

Latest

Choose a tag to compare

@lgcyaxi lgcyaxi released this 29 Oct 02:15

OpenCDA-MARL v2.2.1

A fix release: a long CARLA run no longer dies at a world reload, the OpenCDA entry script works on Windows with --apply_ml, and a frozen SUMO evaluation repeats run to run.

pip install --upgrade opencda-marl
  • A failed CARLA world reload stops the run. The automatic world reset used to log "Training may continue" and carry on into a dead world. A reload now runs under a client time-out of at least 120 s, and when it still fails the run stops with a WorldResetError through the usual shutdown path.
  • The first build of an OpenDRIVE world or a town runs under a client time-out of at least 90 s. The single retry is gone: it queued behind the still-running first request, so it could not help a slow build.
  • Sensors are released through the handle that listened to them on episode reset, adapter teardown, the pre-reload cleanup and a failed spawn setup. Covered by unit tests of the release paths; the client warning could not be reproduced on a windowed RTX 5090.
  • --apply_ml runs on Windows. opencda.py imports torch before OpenCV, Open3D and matplotlib, which made import torch fail with WinError 127.
  • The OpenCDA safety manager prints a warning once per change of the warning set, not on every tick, and qt.qpa.screen messages are silenced by default.
  • SUMO road and junction ids no longer depend on PYTHONHASHSEED. They were built from Python's salted hash(), the planner breaks ties by road id, and the same frozen cell gave different counters under different hash seeds. They now come from a CRC-32 of the edge name. Results measured before this fix on another hash seed are not reproduced bit for bit.

The changelog has the details and the known issues (the monitor's traffic view, platoon joining, an exit-time QThreadStorage message, and the rest of the 2.1.0 list).

Licence. The code written for OpenCDA-MARL is Apache-2.0. The vendored OpenCDA core (opencda/) stays under the UCLA Mobility Lab's Academic Software License, so use of the complete system is limited to academic and nonprofit research. See NOTICE and THIRD_PARTY_NOTICES.md.