You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
649 B
32 lines
649 B
openpilot in simulator
|
|
=====================
|
|
|
|
## Setup
|
|
|
|
Checkout openpilot
|
|
```
|
|
cd ~/ && git clone https://github.com/commaai/openpilot.git
|
|
```
|
|
|
|
## Running the simulator
|
|
|
|
First, start the CARLA server.
|
|
```
|
|
cd ~/openpilot/tools/sim
|
|
./start_carla.sh
|
|
```
|
|
|
|
Then use `start_openpilot_docker.sh` to start the docker container.
|
|
|
|
## Controls
|
|
|
|
Now put the focus on the terminal running bridge.py and you can control
|
|
openpilot driving in the simulation with the following keys
|
|
|
|
| key | functionality |
|
|
| :---: | :---------------: |
|
|
| 1 | Cruise up 5 mph |
|
|
| 2 | Cruise down 5 mph |
|
|
| 3 | Cruise cancel |
|
|
| q | Exit all |
|
|
|
|
|