Self-parking car simulation.
Install the prerequisites:
# OSX
$ brew install glfw3
# Ubuntu
$ sudo apt-get install libglfw3
Clone the repository, and install the dependencies:
$ bundle
Run bin/parking --debug --automatic --algorithm=simple
to start the simulation.
Run bin/parking --help
to see all available commands and their arguments.
Click and drag to look around, scroll to zoom.
Key | Function |
---|---|
V | Toggle scene/car camera |
R | Reset simulation |
Q | Quit application |
Scene camera options | |
Arrow keys | Camera forward/backward up/down |
+/- (or =/-) | Camera up/down |
PgUp | Top-down view (scene camera) |
PgDn | Sideways view (scene camera) |
The movement of the car is controlled by the algorithm. You can run the simulation with manual controls as well:
bin/parking --manual
Key | Function |
---|---|
WASD | Car drive/reverse left/right |
Space | Brake |
- Fork the repository (https://github.com/floriandejonckheere/parking/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
See LICENSE.md.
1956 Fiat 500 Low Poly by Montero, used under Creative Commons Attribution.