View Single Post
  #28   Spotlight this post!  
Unread 02-05-2013, 04:39
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Reducing code complexity

Quote:
Originally Posted by SoftwareBug2.0 View Post
Here's a more minor problem: Our autonomous mode became

Code:
correct angle -> shooter speed -> shoot
rather than:
Code:
correct angle-\
               +--> shoot
shooter speed-/
This will fulfill the second sequence:
Code:
addParallel(new MoveAngle());
addParallel(new SpinUpShooter());
addSequential(new WaitForChildren());
addSequential(new Shoot());
__________________
I code stuff.