Brain Simulator (I MADE ONE!)

For the past 3 or 4 months, I have been working on a brain simulator for vex. I’m not close to releasing it yet, but I’ve gotten to the point where almost all of the visuals work!!! I still need some help for text fonts, and similar things like that.

Details on the project:

I’m using python IDLE to run all the projects. I chose this because both block and c++ projects can be converted to python (and because I don’t know c++ well enough yet). I’m using the downloadable python package, combined with a couple of other built in packages to make the program possible. In order run your brains program, these are the following steps that the user would take:

1: download python IDLE
2: download pygame package
3: download my code
THEN
1: copy and paste their robots code into a new program in the same folder with my code
2: set the ‘when_started1’ function (or any others) to be threads
3: insert the command ‘initiateVexSimulator()’ at the very bottom

and that’s it! It’s more complicated than I’d like it to be, but at the same time, it’s just about as simple as I can get it

There’s also websites that support pygame that users might be able to use, but I haven’t fully experimented with those yet. It could be an easier way for users to test it

CURRENT PROGRESS/LIMITATIONS:
Brain, Controller, and most Enums have support. Motors, MotorGroups, and DigitalOut are all being worked on. I’m running into bugs with text printing, because there is virtually no details on it, and I have to guess for just about everything

If anyone has any information on text printing, I’d love to hear it. As for the project itself, I’d love some help from jpearman, or any of the other active vex developers on these forms. My project works, and I think it would be a great addition to the vex community, but it just isn’t done yet.

6 Likes

This is awesome! Can’t wait to use it when you’re finished

1 Like

If you want help with your code, post it or a github link. You’ll probably end up posting it anyway after some back and forth.

1 Like

This will help all of the struggling coders. :sweat_smile: