mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-21 16:33:53 +08:00
* Add metadrive sim
* use monotonic
* don't use cuda if it's not available
* Cleanup metadrive patches
* PR suggestions
* fix typo
old-commit-hash: e02519bb71
16 lines
396 B
Python
Executable File
16 lines
396 B
Python
Executable File
#!/usr/bin/env python3
|
|
import unittest
|
|
|
|
from openpilot.tools.sim.run_bridge import parse_args
|
|
from openpilot.tools.sim.bridge.metadrive import MetaDriveBridge
|
|
from openpilot.tools.sim.tests.test_sim_bridge import TestSimBridgeBase
|
|
|
|
|
|
class TestMetaDriveBridge(TestSimBridgeBase):
|
|
def create_bridge(self):
|
|
return MetaDriveBridge(parse_args([]))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|