Skip to content

Completed Meep Meep Drawing Feature #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DavidThele
Copy link

I made a program that allows you to draw paths onto Meep Meep with your mouse. With this code, a user can now draw lines and splines on the map and create a navigation, and this program automatically creates the code needed to run the path. Our class thought that this would be a valuable tool for FTC users of Meep Meep.

@rbrott
Copy link
Member

rbrott commented Mar 9, 2025

Neat! I think this could be very useful for teams. I have a few questions:

  • How do you intend for this to be run?
  • How would it fit into a workflow with the rest of MeepMeep? I can imagine teams wanting to switch back and forth between code and GUI modifications to their path. Is this something the tool would support?

@DavidThele
Copy link
Author

Hello,

To answer your second question, the code panel that the user views in order to copy into their robot is editable, so the user can change the code itself in that panel as well as paste code into that. I may not understand your first question fully, but I'll try my best to alleviate any confusion. The MeepMeepDrawer extends the original MeepMeep class, it doesn't directly edit it, so users would instantiate a new MeepMeepDrawer object and it would run in a very similar way as the normal MeepMeep would be run. Users also have the option to just use the normal MeepMeep class if they wish to strictly write in code or add a second bot, as that is not currently supported. I have included a quick screen recording timelapse of me instantiating a new MeepMeepDrawer class, drawing a simple path, and writing the code for a simple movement. I hope this answers your questions, but I'd be happy to answer any more if this was not what you were looking for. If you have some time, I'd also love to talk to you about how I can rework it to more seamlessly integrate it into the MeepMeep framework, there are a couple workarounds related to the field backgrounds that could be consolidated to make it easier to add a new field when a new season is released. Thanks for your consideration!

-David

MeepMeepDrawer.Run.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants