|
Re: Pneumatics with command based programming
Quote:
Originally Posted by bankst
Going off the assumption you are using a Single solenoid (rather than a double), here is what I would put in 'execute':
Code:
RobotMap.wristSolenoid1.set(true); // open solenoid
And in the 'end' function:
Code:
RobotMap.wristSolenoid1.set(false); // close solenoid
Also make sure in the 'interrupted' function you put:
Code:
end(); // close solenoid if command is interrupted
If you have any more questions about command-based programming let me know and I'd be more than happy to help. 
|
Thank you very very much 
|