![]() |
2220's Play/Record Macro for Autonomous
Hey all-
Team 2220 implemented this at the Central Illinois Regional when Team 4009 DNA told us about a super useful tool they wrote to code autonomous programs. They had their robot programmed in Python, so we spent the night transferring the code into Java and making it work with our setup. https://github.com/DennisMelamed/FRC-Play-Record-Macro Here's the gist: you press a button in teleop while you're practicing that records any motions you make into a .csv file stored on the roboRio. Then during autonomous, you have it read back that file, outputting the exact same values to your motors/other things. Easy to setup, create, and change autonomous programs quickly and without a lot of planning. Thoughts/improvements? Big thanks to Team 4009 for the idea and their code in python (you can find the link to their code in the github readme) |
Re: 2220's Play/Record Macro for Autonomous
Sounds cool.
Question: Is it easy to go back and clean up some of the commands? Say the driver didn't go forward enough on the first try and had to bump it a little. Is it easy to adjust for one smooth motion instead of two? |
Re: 2220's Play/Record Macro for Autonomous
This sounds pretty neat and would be very useful. Nice work. Have you used this in competition? How has it gone?
|
Re: 2220's Play/Record Macro for Autonomous
We attempted this also, but could not get playback to work.
|
Re: 2220's Play/Record Macro for Autonomous
Quote:
|
Re: 2220's Play/Record Macro for Autonomous
Quote:
|
Re: 2220's Play/Record Macro for Autonomous
What does the BTStorage class do? Is it important? It isn't in the repository.
|
Re: 2220's Play/Record Macro for Autonomous
Is there a version in labview?
|
Re: 2220's Play/Record Macro for Autonomous
Yes 2252 made a 3 tote auto using the same system in labview and was successful 11 out of 14 times
|
Re: 2220's Play/Record Macro for Autonomous
That's amazing!
Funny coincidence, too - the FLL team that I coached last year built pretty much exactly this, but it ran on an EV3 that was controlled via Bluetooth by another EV3. They ended up winning the Software Award at the Oregon State Championship, and you guys deserve to win something for this - it's a great piece of work. |
Re: 2220's Play/Record Macro for Autonomous
Quote:
|
Re: 2220's Play/Record Macro for Autonomous
Quote:
|
Re: 2220's Play/Record Macro for Autonomous
Quote:
|
Going to talk to our lead programmer about this. Being programming is our strong suit and next year we are losing him we need to explore different things before we lose him.
|
Re: 2220's Play/Record Macro for Autonomous
Quote:
https://drive.google.com/file/d/0B-Q...ew?usp=sharing Using recording and open office to edit the file we were able to develop our 3 tote auto in just a little over two hours. |
| All times are GMT -5. The time now is 00:47. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi