Updated Requirements (markdown)

master
grekiki 2021-02-16 23:44:33 +01:00
parent 24a284bb83
commit 3ce4eba3c3
1 changed files with 10 additions and 1 deletions

@ -3,4 +3,13 @@ Openpilot cannot run on every device and operating system. If you want to tweak
If you want to run the actual model on the computer you will also need a GPU with openCL support. Nvidia is used for development and is known to work.
If you have a Comma 2, you can connect to it from a computer running Windows.
If you have a Comma 2, you can connect to it from a computer running Windows.
# Setup
Comma 2 already includes everything you need for development. For Ubuntu you'll need to clone openpilot and install some libraries. We wrote some scripts to make this easier.
* First clone openpilot to your home directory(~)
* Go into ~/openpilot/tools and run ./ubuntu_setup.sh . If it complains about pyenv follow the steps on the console.
* Go up into ~/openpilot and run ./update_requirements.sh
* If this was all successfull you should now have all of the needed libraries for development. The next 2 steps will check if everything works
* Build openpilot by running scons -j8 in ~/openpilot (-j8 selects 8 compile threads. You can use more if you have more available).
* The build should pass without issues. Go to ~/openpilot/selfdrive/ui and run ./ui . You should now see openpilot UI running on your computer.