View Single Post
  #3   Spotlight this post!  
Unread 20-01-2007, 00:30
Jake M Jake M is offline
void* Jake;
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Missouri
Posts: 118
Jake M has a spectacular aura aboutJake M has a spectacular aura about
Re: Programming Pneumatics?

Basically, the two main components, compressor and valves, are run off of spikes. The compressor only really needs to go in one direction, pumping into the tanks. The valves need two, one for pushing, one for pulling. Use spikes for both, and note that you only need to send a single pulse at a time to the valves, but you treat the compressor like a motor. Check out the IFI Robotics page on Spikes and the Programming manual to figure the programming.
__________________
Code:
void function(void)
 {
  function();
 }