|
Re: Pneumatics Programing
You want the solenoid check inside your teleop loop, since that's where you are reacting to joystick commands.
The compressor you want operating in both autonomous and teleop modes so that goes elsewhere.
Really, the compressor Open and Start should be in the Begin.vi and the Close in Finish.vi. You need to add the compressor cluster information to RobotData.ctl so it can be used in the Finish.vi
P.S. I'm assuming by what you said that you're using the Advanced Framework. If you're using the Basic one instead it's a little different.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 04-02-2009 at 09:48.
|