Skip to content

This project is part of the course Mobile Robotics given at EPFL during fall semester 2021. The objective is to program a Thymio robot to help it escape a maze while avoiding obstacles.

License

Notifications You must be signed in to change notification settings

stiefen1/thyminotaur

Repository files navigation

labyrinth-project

This project is part of the Mobile Robotics given at EPFL during fall semester 2021. For more informations about implmentation of the code, please check our Jupyter notebook report.

Main: Main.py

Requirements

Install the requirements.

pip install -r requirements.txt

Make sure opencv-contrib is installed instead of opencv. This is needed to use the ArUco utilities.

Usage

Run the project.

  • Deactivate any laptop's webcam in the device manager
  • Connect the external webcam + Thymio
  • Start the project using:
python Main.py

Troubleshooting

Generate AruCo

No module named "cv2.aruco" : https://stackoverflow.com/questions/45972357/python-opencv-aruco-no-module-named-cv2-aruco

ArUco

aruco

Labyrinth layout

labyrinth

Localize ArUco

localize

Detect Labyrinth

detect labyrinth

big labyrinth

In ~ 12 ms

Detect corners

original corners

corners cropped

About

This project is part of the course Mobile Robotics given at EPFL during fall semester 2021. The objective is to program a Thymio robot to help it escape a maze while avoiding obstacles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published