Difference between revisions of "Dash"
Line 14: | Line 14: | ||
cd dash | cd dash | ||
./run | ./run | ||
+ | # make sure chrome is your default browser or open index.html manually | ||
+ | open index.html | ||
</source> | </source> | ||
Revision as of 06:48, 16 January 2020
Click here to comment see Self Driving RC Car
Dash is a simple Vehicle simulation software written in JavaScript. The fork
is an attempt to make it useable for https://github.com/rc-dukes/dukes/issues/37
Installation
# if your .npm owner ship needs to be fixed
# see https://stackoverflow.com/a/55468089/1497139
# sudo chown -R $USER:$GROUP ~/.npm
git clone https://github.com/rc-dukes/dash
cd dash
./run
# make sure chrome is your default browser or open index.html manually
open index.html
To navigate you can use your keyboard as outline in the following to tables
Cursor Keys
arrow_upward | ||
arrow_backward | arrow_forward | |
arrow_downward |
wasd
w | ||
a | s | |
d |
Project info
This project demonstrates a real-time, on-road, lattice-based autonomous vehicle motion planner in the browser. Many autonomous vehicle motion planners are implemented close to the metal in C or C++, or they utilize computing platforms like CUDA or OpenCL to generate plans in a highly parallel fashion on the GPU. Using WebGL, we can implement similar parallel planning algorithms right in the browser that can run on a variety of moderately-powerful consumer graphics cards. With Three.js, the motion planner can be executed in real-time 3D simulated scenarios.
This simulator is still a work-in-progress. You may see bugs, WebGL crashes, strange vehicle behavior, and any number of other failures. Currently, it is fully functional only in Google Chrome with hardware acceleration enabled and experimental canvas features enabled. The target frame rate is 60fps, but it may run slower depending on how long planning takes on your hardware.
Usage in rc-dukes project
Simulator and rc-dukes communicate via vert.x with each other