Adeeb Shihadeh bd2b09c7b6 Deprecate controlsState state fields (#33437) | 1 月之前 | |
---|---|---|
.. | ||
bridge | 1 月之前 | |
lib | 1 月之前 | |
tests | 1 月之前 | |
README.md | 4 月之前 | |
__init__.py | 2 年之前 | |
launch_openpilot.sh | 2 月之前 | |
rgb_to_nv12.cl | 2 年之前 | |
run_bridge.py | 2 月之前 |
openpilot implements a bridge that allows it to run in the MetaDrive simulator.
First, start openpilot.
# Run locally
./tools/sim/launch_openpilot.sh
$ ./run_bridge.py -h
usage: run_bridge.py [-h] [--joystick] [--high_quality] [--dual_camera]
Bridge between the simulator and openpilot.
options:
-h, --help show this help message and exit
--joystick
--high_quality
--dual_camera
| key | functionality |
|------|-----------------------|
| 1 | Cruise Resume / Accel |
| 2 | Cruise Set / Decel |
| 3 | Cruise Cancel |
| r | Reset Simulation |
| i | Toggle Ignition |
| q | Exit all |
| wasd | Control manually |
Start bridge processes located in tools/sim:
./run_bridge.py