The easiest way to get started with the Mighty Thymio is to use docker.
- Start with a fresh minimal image with Ubuntu 16.04
- Download the lastest image from the official Odroid repository.
- Flash the image to the eMMC card.
- Switch on the Odroid, log in and run the odroid-utility to expand the filesystem.
- Bring the OS up-to-date
apt update apt install linux-image-c1 apt upgrade
- Install git and curl
apt install git-core curl
- Reboot
-
Clone this repository
mkdir -p /root/docker cd /root/docker git clone https://github.com/jeguzzi/mighty-thymio.git
-
Run the install script
cd /root/docker/mighty-thymio/install source install_local.sh
-
Bring up the docker containers
cd /root/docker/mighty-thymio docker-compose up -d robot ui ups camera
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.
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
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.
- check that all cables are connected
- login into the odroid
- check that docker is up
If not, reset docker:
systemctl status 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
- check that the services are up
If not, recreate them:
cd docker/mighty-thymio docker-compose ps
source do_update.sh