View Single Post
  #4   Spotlight this post!  
Unread 02-17-2016, 02:09 PM
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,117
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: pneumatics help, noob programmer.

Quote:
Originally Posted by VrewDaive View Post
So how do you communicate with the PCM? do you simly connect the can wires to it and the robo rio and your good to go? or do you have to put something in the code??
In general, you have to:
1) Create the pneumatics object (similar to how you create the talon, joystick, etc)
2) Enable the object

At that point, the library will automatically keep the system pressurized.

You would then control the solenoids.

You can disable, and the re-enable the compressor in order to turn it off when you don't need it, or want to minimize current draw (prevent brownout, or make more power available for the motors)..
Reply With Quote