mackorone / mms Goto Github PK
View Code? Open in Web Editor NEWA Micromouse simulator: write and test maze-solving code without a physical robot
License: MIT License
A Micromouse simulator: write and test maze-solving code without a physical robot
License: MIT License
I'm trying to build the micromouse simulator in Ubuntu 22 from downloaded source but the build command in QtCreator complains about openglwidgets. The build instructions are sufficiently vague to force me to ask for help. Reinstalling Qt with a different version was reported as being successful but that is garbage. Why does your simulator NOT even build in Linux???
This project has been so fun to play with.
It would be amazing to push the boundaries of turning and arching from square to square or opening up Bézier curves for more advanced path optimizations.
With micro moves we may need access to the animation clock.
Hello,
this little project is awesome. I have a few questions and I will be very happy if you could answer them.
Sorry for those questions. The project has many files and maybe you can point to the right files for us.
Thank you,
Adon
I think it would be really cool if there was a documented way to run the simulator via CLI only, this could be especially handy in automated CI/CD tests or just to quickly gauge performance!
I would love to work on implementing this if we can think of a way to go about it, i know mms is pretty tied into the graphics engine but, perhaps piping the graphics to a virtual x session or something similar might work?
I would suggest using the https://github.com/micromouseonline/mazefiles format. For the following reasons:
Also, using that format would allow you to access the huge amount of competition and non-competition maze files available in the repository. 😊
Hi! Mack!
There is an issue regarding moveForward() function as follow
bool moveForward() {
return getAck("moveForward");
}
There is no argument for a distance.
I will appreciate so much if you fix .
Thanks Mack!
Kind regards
David
I use intellij, where can i find the build and run commands?
I made a simple Rust API for MMS. If you want to mention it in your docs, that would be really nice.
https://crates.io/crates/mms-rs
https://github.com/hardliner66/mms-rs
Hi! Mack!
I tried to use 32x32 maze but display an error message which is "invalid maze file".
Is there any other way to use ?
If I can use 32x32 maze, I will appreciate so much .
Thanks mack!
Kind regards
David
When I try to upload the mms sketch to arduino it shows the following error
cannot convert 'const char*' to 'double' for argument '1' to 'double log(double)'
Can you tell me why
Thankyou
Version 2, Makefile gives errors.
Hi! Mack!
How are you!
I upgraded some functions such as tuning 45 , running diagonal line, curve turning and so on for nearly a year. Any maze size is ok either. I'd like to contribute absolutely. Let me know!!
Thanks Mack!
in the simulator 45 degrees turns are not working also half steps are also not working but i saw in some youtube simulations they managed to work it out can you please tell me how to fix it
im using python template and not able to stop the mouse after reaching the finish tile,i.e. its stilling running around the maze , i tried altering the source code but still not working.
Admittedly, I am using the AUR Package so totally fair if i'm just simply beyond support. I wasn't having any luck building from source using qtcreator, and it looks like the aur package "got further". Mostly posting here just incase anybody else has the same error and tries to google it!
in the latest available release ( v1.1 )
the commands WallFront
, WallRight
, moveForwardHalf
do not return an ack and the simulator doesn't respond
I know that the arduino version must work as long it is an ATmega. But somehow it doesnot work on the ESP32
even though it works on my Arduino Mega.
The ESP32
works correctly, but all the simulator shows is RUNNING
. What am I doing wrong?
how can i build and run in the mms, because it says process failed to start: the system cannot find the file specified. can u send me the run and build code, i looked many of yours answers but your code is not working on my pc. i have windows 11 if that would help. thanks #38
if API.wallBack():
I faced a issue. The execution stops when I checked for wallback condition in python.
I cannot seem to get the python debugger to play nice with your API. When the program reaches the trace command, it locks up presumably waiting somewhere for input. Can the interface be made bi-directional and not just write to the log window?
Thank you for great simulator.
I am using mms-arduino and mms.exe from windows.zip in released version.
Directory: C:\Users\User1\Desktop\Maze-Solver-Robot\mms-arduino
Run command: C:\Users\User1\Desktop\Python311\python.exe Main.py --port COM8 --baud 19200
First Run is successful using Arduino Uno board and mouse reached to Goal location.
Now I need to move mouse to start location again in mms.exe to start Second time Run. How can I put mouse again to location (0,0) to check Second run.
I have tried building it from source as well as from aur, still no luck
=> Main issue seems to be "Project ERROR: Unknown module(s) in QT: openglwidgets"
=> I am unable to fing the install candidate for openglwidgets
Hello,
when clicking on the folder icon to load a maze file we have the message " GtkDialog mapped without a transient parent. This is discouraged." This looks like a warning but it will freeze the application. Is there anything we can add in the code to prevent the simulator to freeze upon opening a maze file?
Also, one alternative is to edit the history of mazes already opened (see attached picture)
and select one from there instead of clicking the folder icon. Where is this file stored on the machine?
Thanks
Updated to newest MacOS and opened mms and couldn't get it to run, haven’t changed a thing and I get this error:
execvp: No such file or directory
Steps to reproduce
Process failed to start: Unknown error 0x000000c1.
Device Info
Processor 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz
Installed RAM 16.0 GB (15.8 GB usable)
System type 64-bit operating system, x64-based processor
Note
No issue when running program manually
Hey Mackorone,
I stumbled across this simulator recently when looking for viable simulators for my university's micromouse program. I've downloaded the latest release and got that working wonderfully, however I realized that the newest release doesn't include the addition of the second, easier to read and design map format. Would it be possible for you to create a new release with the the features that currently exist in the source code? I know it's a bit to ask but it would be great to have a link to send my students rather than figure out how to build it myself.
Thank you :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.