|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
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
Last edited by slickvic2252 : 28-03-2015 at 19:15. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
Re: 2220's Play/Record Macro for Autonomous
Quote:
|
|
#4
|
|||
|
|||
|
Re: 2220's Play/Record Macro for Autonomous
Is it possible to get that program?
|
|
#5
|
||||
|
||||
|
Re: 2220's Play/Record Macro for Autonomous
Yes it is. Here is the latest version of our 2015 code along with our 3 tote auto file. The file type that windows assigns the auto recording seems to be rather random but just open the file with a excel or an equivalent program with tab seperation and it should open fine.
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. |
|
#6
|
||||
|
||||
|
Re: 2220's Play/Record Macro for Autonomous
Cool stuff, glad to hear a python team did it first..
In 2003, the first year that FIRST had autonomous modes, I was a senior in high school and I implemented this exact same type of thing that year in PBASIC. Only had 22k of flash memory to write to though... but it worked like a champ! |
|
#7
|
||||
|
||||
|
Re: 2220's Play/Record Macro for Autonomous
One of the most clever things I've seen yet. Nice work.
|
|
#8
|
|||
|
|||
|
Quote:
In most cases, I am terrible at writing an autonomous sequence, but it is in this case that I believe I can get a firm grasp of the concept. |
|
#9
|
||||
|
||||
|
Re: 2220's Play/Record Macro for Autonomous
I'm also interested in this program as well. I requested access to view the Drive folder.
|
|
#10
|
||||
|
||||
|
Re: 2220's Play/Record Macro for Autonomous
I wrote something like this a while ago, and I've got a little bit of advice.
During a competition, any periodic functions aren't exactly constant. Their timing may change, especially on a field, as it waits for data from the Driver Station. To remedy this, use something like a 'heartbeat' thread, that triggers on a constant rate, all the time (for us, we use 50hz). This means you don't get the next data point at an inconsistent rate, which causes jerking in driving and/or any other mechanisms. Other than that, it looks good . Good luck in Autonomous! |
|
#11
|
|||
|
|||
|
Re: 2220's Play/Record Macro for Autonomous
Jaci - Did you just use a timer in your thread to pace the reads and writes, or some other triggering mechanism? Thanks!
|
|
#12
|
||||
|
||||
|
Re: 2220's Play/Record Macro for Autonomous
Quote:
EDIT: Whoops, i misunderstood. We do reads and writes as we go along. Since the RIO non-volatile storage is flash, we've tested that just reading from a BufferedReader is fast enough to not cause hickups |
|
#13
|
|||
|
|||
|
Re: 2220's Play/Record Macro for Autonomous
Thank you!
|
|
#14
|
|||||
|
|||||
|
Re: 2220's Play/Record Macro for Autonomous
We did this last year, but wound up not using it due to inconsistency of the motor values due to battery charge. Since a motor running at a speed of, lets say, 0.8 runs at different speeds depending on the charge of the battery. This causes the autonomous, depending on the battery charge, to look right, but wind up not driving/turning the correct distance. How did you guys tackle this problem? Do you incorporate encoders and/or a gyroscope?
|
|
#15
|
||||
|
||||
|
Re: 2220's Play/Record Macro for Autonomous
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|