Skip to content
JavierIHPublic

About

Maze-solver mobile robot

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

413 Commits

Folders and files

Repository files navigation

RATATRON in a maze

RATATRON

A micromouse: an STM32F103 robot that explores an unknown maze, maps it, works out the fastest route and runs it, with smooth curves. Board, body, firmware, PC tools and a simulator, all here (javierih.com/robots/ratatron).

The monitor: a search and a speed run

  • Search (mode 1): explores to the goal, keeps exploring only what could still shorten the fast path, returns and saves the map in flash.
  • Speed run (mode 2): the verified path in one continuous move, straights at FAST, curves at CURVE, and back. The planner minimises time, not cells.

Quick start

software/install.sh          # the `ratatron` command
ratatron connect &           # the robot over Bluetooth: recorded, shared
ratatron monitor             # the live maze and console
ratatron flash practice      # build and flash (competition: the 16x16 goal)

Where things are

  • firmware/: the robot's code (PlatformIO, bare STM32 HAL) and its PC tests
  • software/: the ratatron tools (link, monitor, calibration) and the session logs
  • electronics/ (KiCad), mechanics/ (FreeCAD, STL)
  • docs/: using the robot (buttons, LEDs, console), the tools, design, measurements, tests, faults
  • The simulator, the robot in MuJoCo with its real firmware (and other micromice with theirs): ratasim, its own repository (this one as a submodule)
  • AGENTS.md: architecture and conventions

Licence

Code (firmware/, software/) and documentation: GPLv3 (LICENSE). Hardware (electronics/, mechanics/): CC BY-SA 4.0 (electronics/LICENSE, mechanics/LICENSE).

About

Maze-solver mobile robot

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages