View Single Post
  #8   Spotlight this post!  
Unread 17-02-2014, 19:36
RamZ's Avatar
RamZ RamZ is offline
Project Manager & Driver
AKA: Ram Zallan
FRC #0004 (Team 4 ELEMENT)
Team Role: Leadership
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Los Angeles
Posts: 127
RamZ will become famous soon enoughRamZ will become famous soon enough
Re: Help with Compressor!!!

Quote:
Originally Posted by ndroboknight View Post
The relay does currently have a fuse in it. We have tried replacing the fuse of the relay and replacing the relay altogether. I am not 100% sure if I am coding it properly. I have attached the subsystem class for the Pneumatics. And the lights on the sidecar did not come on. Could I know which ones are supposed to come on? Also I want to clarify that I tried to directly power the relay through code, not physically.
I don't think you initialized your compressor correctly.
There are four necessary values.
Yours is currently "airCompressor = new Compressor(1,1);"
Ours is basically the same, except the values are (1, 1, 1, 1).

Try that out.
__________________
Team 4 ELEMENT
Project Manager & Driver
team4element.com facebook twitter instagram



Last edited by RamZ : 17-02-2014 at 19:55. Reason: Wrong values
Reply With Quote