View Single Post
  #3   Spotlight this post!  
Unread 10-02-2015, 15:21
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Programming Pneumatics in Autonomous

It really is no different than teleop.

Instead of waiting for a user input, such as a button press, you wait for a different trigger, such as encoder ticks/time.

The actual code to deploy the pnuematics is the EXACT same. Just place the line of code you use in teleop in your auto method, at the appropriate time.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)