mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 18:12:05 +08:00
a79bfe13bf
* Add metadrive sim * use monotonic * don't use cuda if it's not available * Cleanup metadrive patches * PR suggestions * fix typo old-commit-hash: e02519bb71beb4bf1f6b7f5def5a077886e00327
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()
|