Component: Maze Generator (HP458) (Scenarios): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (17 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_MazeGenerator.fcfx FC_Comp_Source_MazeGenerator.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_MazeGenerator.fcfx FC_Comp_Source_MazeGenerator.fcfx] | |||
==Detailed description== | ==Detailed description== | ||
| Line 34: | Line 48: | ||
==Examples== | ==Examples== | ||
| Line 49: | Line 75: | ||
{| class="wikitable | |||
==Macro reference== | |||
===GenerateMaze=== | |||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GenerateMaze''' | ||
|- | |- | ||
| colspan="2" | Clears the current maze and generates a new maze over the top. Automatically called when the size of the maze is altered. | | colspan="2" | Clears the current maze and generates a new maze over the top. Automatically called when the size of the maze is altered. | ||
| Line 62: | Line 103: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Generation Settings | ||
|- | |- | ||
|- | |- | ||
| Line 88: | Line 127: | ||
| colspan="2" | 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 | | colspan="2" | 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="10%" align="center" | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
| width="90%" | | width="90%" | Redraw Maze | ||
|- | |||
| colspan="2" | Allows the random maze to be redrawn | |||
|- | |||
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | |||
| width="90%" class="mtx-class-propfolder" | Dimensions | |||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.0 |
| Category | Scenarios |
Maze Generator component
Creates a simulation only randomised maze out of standard micromouse maze walls and pillars. Compatible with the Formula Flowcode robot.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_MazeGenerator.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_MazeGenerator.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GenerateMaze
| GenerateMaze | |
| Clears the current maze and generates a new maze over the top. Automatically called when the size of the maze is altered. | |
| Return | |