Skip to content

Latest commit

 

History

History
100 lines (81 loc) · 2.77 KB

Installation.md

File metadata and controls

100 lines (81 loc) · 2.77 KB

Installation

The easiest way to get started with the Mighty Thymio is to use docker.

  1. Start with a fresh minimal image with Ubuntu 16.04
  1. Clone this repository

    mkdir -p /root/docker
    cd /root/docker
    git clone https://github.com/jeguzzi/mighty-thymio.git
  2. Run the install script

    cd /root/docker/mighty-thymio/install
    source install_local.sh
  3. Bring up the docker containers

    cd /root/docker/mighty-thymio
    docker-compose up -d robot ui ups camera

Shutdown and restart

The software will automatically restart on boot. To properly shutdown the robot, either run

sudo shutdown now

or press the up arrow (the button on top of the robot's body that points towards the back) for 6 seconds.

Demo

We also include the Docker Compose file to launch the demo

Learning an Image-based Obstacle Detector With Automatic Acquisition of Training Data, Stefano Toniolo, Jérôme Guzzi, Luca Maria Gambardella, Alessandro Giusti, AAAI-18.
cd /root/docker/mighty-thymio
docker-compose -f demo/ml/docker-compose.yml up

Software update

Connect the robot to the internet and either run

cd /root/docker/mighty-thymio
source do_update.sh

or hold down the right arrow (the button on top of the robot's body that points towards the right wheel) for 6 seconds.

Troubleshooting

After starting, the Thymio is not blinking

  1. check that all cables are connected
  2. login into the odroid
  3. check that docker is up
    systemctl status docker
    If not, reset docker:
    systemctl stop docker
    rm -r /var/lib/docker/runtimes
    rm -r /var/lib/docker/containers/*
    systemctl start docker
    source /root/docker/mighty-thymio/do_update.sh
  4. check that the services are up
    cd docker/mighty-thymio
    docker-compose ps
    If not, recreate them:
    source do_update.sh