Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 2.64 KB

install.md

File metadata and controls

57 lines (43 loc) · 2.64 KB

DriveboardApp Installation

In general simply download and run:

python driveboardapp/backend/app.py

You many need additional packages that do not come with your python distribution. To install some uncommon ones required for the project, run the following command:

pip install -r deploy/requirements.txt

If necessary, create a configuration file for the app.

Troubleshooting

If any issues occur it helps to install the Arduino IDE installation and get the blink LED example to run. This makes sure the basics work. For example on Linux the Arduino IDE will ask you to give access permission to the serial port.

Lasersaur Driveboard v14.04 Setup (Old)

  • make sure the Driveboard/Lasersaur can access the Internet
  • ssh into the Driveboard/Lasersaur with ssh lasersaur.local and do the follwoing:
git clone https://github.com/nortd/driveboardapp.git
cd driveboardapp
scripts/install_packages.sh
scripts/upgrade_to_driveboardapp.sh
pkill python
python backend/flash.py
reboot

If for some reason you want to downgrade and use LasaurApp again run:

scripts/downgrade_to_lasaurapp.sh
reboot

MinimalDriveboard Setup

DriveboardApp is quite flexible software and can be run on any Windows, OSX, or Linux computer. A MinimalDriveboard can be connected via USB directly. In this case the DriveboardApp backend runs on the computer and the browser connects locally.

  • Open the command line.
  • Make sure you have Python 2.7, run python --version
  • Download the latest stable DriveboardApp and unzip to a convenient location.
    • For advanced users we recommend using git clone https://github.com/nortd/driveboardapp.git instead. This way you can easily update with git pull
  • Change dicrectory to that location and run python backend/app.py -b

At this point your default browser should open at http://localhost:4444. DriveboardApp runs in any current Firefox or Chrome (Safari and IE may work too). Congrats!

If you get a serial port error you may have to configure it by setting up a configuration file and point to the port where the Hardware is connected to. On Linux you may also have to set proper r/w permissions for the serial port.