|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Revolutionizing autonomous
Also, I'm not saying YOUR team specifically should use my setup. You seem to have it all worked out. This is mainly for the teams that don't really have time to test lots of autonomous stuff and don't really know how to set it up. Almost all of the tournaments we were at the most we saw for autonomous was 3 shots maybe, or a drive into the wall and use inertia to drop frisbees.
|
|
#2
|
||||
|
||||
|
Re: Revolutionizing autonomous
Quote:
everyone's different. |
|
#3
|
||||
|
||||
|
Re: Revolutionizing autonomous
Ohhh I see what you mean. But you don't actually have to read the parser
![]() But still, very few teams know about the SmartDashboard, and very few teams have Autonomous. The ones that do are usually the more impressive ones who, like your team, have a 5-disc auto or something equal. I mostly want to help out the teams that don't have as much. They just have to drop these into their project, extend from them, fill out the abstract methods in the commands, And pass in a list of those commands in RobotInit. |
|
#4
|
||||
|
||||
|
Re: Revolutionizing autonomous
Quote:
(next year will be a command-based structure like the earlier link) My code follows similar structure, you just drop in TimedCommandGroup.java and add commands, in the 2014 code I've added a simple little command generator that will allow me to run 1-8 motors/relays/solenoids/etc at whatever desired value. Your code might be faster to write, but mine is easier to read and better support for multiple modes plus once you learn to FTP, changing values without SD doesn't take too long |
|
#5
|
||||
|
||||
|
Re: Revolutionizing autonomous
I don't know about better at supporting multiple modes, we had had a couple different strings we could use, and just put in the relevant one once we had the robot on the field. But, I agree that it is probably easier to read.
![]() Either way, the stuff in this thread should be good for jump-starting a team who has 0 autonomous. |
|
#6
|
|||||
|
|||||
|
Re: Revolutionizing autonomous
Here's some scripting stuff I worked on a while back so that files can be deployed over FTP with no reboot. I haven't touched it since but it'd be interesting to see something similar in Java (not sure about yacc/lex equivalents).
|
|
#7
|
||||
|
||||
|
Re: Revolutionizing autonomous
Well it seems like it's the same basic idea as both of our scripting programs... however, I can't say for sure because I have know experience with regular expressions or yacc/lex.
![]() As for ftp, I'm pretty arhowk mentioned that he does that, and I guess I could use it if I needed to, the RobotPreferences is just a file on the CRio. But I don't see a reason to use Ftp over SD because SD is so convenient(Some teams mentioned that they weren't allowed to use SD, so in that case FTP is, obviously, preferable for changing autonomous seconds before the match starts) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|