mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-20 09:03:57 +08:00
* Add metadrive sim * use monotonic * don't use cuda if it's not available * Cleanup metadrive patches * PR suggestions * fix typo
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()
|