Play

Some fun things to try with your SMARS robot.

SMARS Lab

A new python web app has been created to enable you to get started right away with your SMARS Quad.

SMARS Lab screenshot

This is still a work in progress, but as you can see it gives you the ability to control your smars via a web browser.

How to Get and Install SMARS Lab

To install this on your SMARS Raspberry Pi Zero:

  • log on to your raspberry pi
  • clone the SMARS Lab github repository:
    git clone https://www.github.com/kevinmcaleer/SMARSLab
  • change to the SMARSLab directory:
    cd SMARSLab
  • install virtualenv:
    sudo apt-get install virtualenv
  • create a new virtual python environment:
    virtualenv -p python3 venv
  • activate the new python environment:
    source venv/bin/activate
  • install the pre-requisites:
    pip install -r requirements.txt
  • load SMARSLab:
    python smarslab.py
  • Open a webbrowser at:
    either http://localhost:5000 or http://raspberrypi-IP-ADDRESS:5000
  • Enjoy!