mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 22:23:56 +08:00
* move manager in folder
* inital refactor
* call start
* small cleanup
* add comments
* use self.signal()
* order shouldnt matter
* newlines
* add helpers
* newlines
* add process config
* split out build part of manager
* this should fix most tests
* no sensord on pc
* dont start athena
* remove comment
* fix old athena test
* fix inject model
* fix test car models
* should be not none
* fix helpers exitcode
* ignore manage_athenad
* Use time.monotonic()
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* combine init, remove spinner
* move manager test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a3b511306
openpilot in simulator
Running the simulator
First, start the CARLA server.
./start_carla.sh
Then start bridge and openpilot.
./start_openpilot_docker.sh
To engage openpilot press 1 a few times while focused on bridge.py to increase the cruise speed.
Controls
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 |
To see the options for changing the environment, such as the town, spawn point or precipitation, you can run ./start_openpilot_docker.sh --help.
This will print the help output inside the docker container. You need to exit the docker container before running ./start_openpilot_docker.sh again.
Further Reading
The following resources contain more details and troubleshooting tips.