2d micromouse simulation using mobile robotics toolbox
17 views (last 30 days)
Show older comments
I have created a plant model for 2d micromouse simulation using Mobile robotics toolbox.The maze is generated using simulation map generator app.A lidar sensor is used to get the distance from the walls.I have seen many matlab examples for solving a maze but it didn't involve robot dynamics.How can i map the whole maze?What is the strategy for maze mapping using this toolbox?How can i implement various shortest path algorithms like A*,Flood fill,Bellman Ford etc?As shown in figure the maze was designed in cad and then imported as image in map generator app.The maze is 16x16 so how can i define nodes ?Also i would like to know any other strategy using this method.
4 Comments
Elad Kivelevitch
on 24 Oct 2020
@Mustafa: you can use the Amaze (a maze generator) code that The MathWorks co-founder Cleve Moler posted.
Mustafa salah
on 25 Oct 2020
Answers (1)
Ankur Srivastava
on 26 May 2021
The following features of MATLAB can be helpful to get things started:
- mapMaze : For generating the random 2D-Maze map.
- lidarScan : For getting lidar data from occupancymap
- plannerAStarGrid : For searching in an occupancyMap
- plannerRRTStar : For searching in an occupancyMap
Following example showcase the generation for lidar scan of environment, create environment and find path using RRT*.
0 Comments
See Also
Categories
Find more on Robotics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!