|
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)
|