![]() |
pneumatics help, noob programmer.
Hey everyone! this is our first year using really any kind of pneumatics, our team has all of the hardware, (PCM, Compressor, DoubleSolenoids etc) what we would like is the basic understanding of the coding side of things, i understand that you need to write the PCM in CAN, im really unsure of what that entails. here is the code right now
Code:
/**Thanks :) |
Re: pneumatics help, noob programmer.
On the new control system, the PCM has built-in closed loop control of the compressor, no code is necessary to turn it on
Quote:
|
Re: pneumatics help, noob programmer.
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??
|
Re: pneumatics help, noob programmer.
Quote:
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).. |
Re: pneumatics help, noob programmer.
Quote:
![]() |
| All times are GMT -5. The time now is 08:03 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi