Component: Maze Generator (HP458) (Simulation)
Author | Matrix Ltd |
Version | 1.0 (Release) |
Category | Simulation |
Contents
Maze Generator (HP458) component
Creates a simulation only randomised maze out of standard micromouse maze walls and pillars. Compatible with the Formula Flowcode robot.
Examples
No additional examples
Downloadable macro reference
This component does not contain any downloadable macros
Simulation macro reference
GenerateMaze
Clears the current maze and generates a new maze over the top.
Automatically called when the size of the maze is altered.
Parameters
- This macro has no parameters
Return value
- This call does not return a value
Property reference
Maze Generation
This property is of type Fixed list of ints and can be referenced with the variable name GenMode.
Specifies how the maze is generated.
Manual - All walls are shown, clicking on a wall will remove it while the switch remains active.
Random - A random maze is generated
Contained
This property is of type True or false and can be referenced with the variable name Contained.
Decides if the maze is contained or if there are openings to allow the robot to escape the maze for obstacle course type simulations.
No - Creates two holes in the side walls of the maze to match the longest path possible through the maze
Yes - The maze is self contained
Width (Walls)
This property is of type Signed integer and can be referenced with the variable name width.
The number of micromouse walls wide the maze should be
Length (Walls)
This property is of type Signed integer and can be referenced with the variable name height.
The number of micromouse walls long the maze should be
Cell Count
This property is of type Signed integer and can be referenced with the variable name cell_count.
The total number of individual cells the maze will have