View Single Post
  #1   Spotlight this post!  
Unread 13-02-2012, 15:48
Waltonruler5 Waltonruler5 is offline
Registered User
FRC #1591
 
Join Date: Jan 2012
Location: Greece, Rochester
Posts: 8
Waltonruler5 is an unknown quantity at this point
Spike Relays won't recognize values

I'm trying to program two intake motors for our feed system using spike relays. I'm using the command template shown by BradAMiller. I defined each motor as a spike and mapped it to the proper channel. I create the method intakeOn and go to set the value but it tells me there's an error. I type
intakeMotor1.set(Relay.kForward);
and it tells me that the symbol "kForward" is not found in the class.

I programmed another subsystem to use the spikes without difficulty but we switched them to victors so I can't look back at the code.
Reply With Quote