bulebule icon indicating copy to clipboard operation
bulebule copied to clipboard

Simulation environment

Open Peque opened this issue 8 years ago • 3 comments

A simulation environment would be great for trying different algorithms in the computer before actually trying them with the micromouse. This would be great for those who do not even have a micromouse built just yet.

The idea is to use the Gazebo simulator and:

  1. Create a basic micromouse model (two wheels, a couple of distance sensors that could be considered ideal with no noise and linear response). There are probably models out there that we could use as template. Ideally the mouse and the sensors would have their dimensions/positions based on the PCB design of the prototype.
  2. Create a basic maze model and load it to the world (a single straight corridor) or, better, create a complete micromouse maze model. See the references bellow for possible ideas or projects that may help.
  3. Create some basic control (i.e.: the mouse should be able to follow a straight corridor using a basic control).
  4. Implement basic 90º turns.
  5. Implement basic follow-side-wall algorithm for maze solving.
  6. Implement position tracking (i.e.: the robot should know in which coordinates it is positioned at every moment). In the real robot this is done with encoders, in the simulation we could have two variables to track the traveled distance of each wheel).
  7. Implement a more advanced maze solving algorithm that allows us to solve a micromouse competition maze.

References:

  • http://gazebosim.org/
  • https://github.com/WPISmartmouse
  • https://github.com/PeterMitrano/gzmaze
  • https://www.thingiverse.com/thing:946460

Peque avatar Sep 22 '17 22:09 Peque

@peque could you please clarify the issue?

luckyagarwal avatar Oct 02 '17 06:10 luckyagarwal

@luckyagarwal Sure! I updated the description to make it more clear. :blush:

The issue is pretty large, so I tried to separate it into different steps (numbered list items). Each step could be treated as a separate issue with a different pull-request associated to it.

Peque avatar Oct 02 '17 07:10 Peque

@peque thank you😊

luckyagarwal avatar Oct 02 '17 07:10 luckyagarwal