|
Re: pneumatic kicker
That code will activate the solenoid exactly while the joystick button is pressed. If it's a single solenoid valve with the pneumatic tubing connected normally, the cylinder it is controlling will move to one end of its travel when the button is pressed (and the robot is enabled, and in teleop, and the "seek target" button is not also pressed), and it will return to the other end when the button is released.
|