View Single Post
  #4   Spotlight this post!  
Unread 12-03-2010, 10:51
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
Reply With Quote