View Single Post
  #10   Spotlight this post!  
Unread 17-02-2009, 14:08
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,045
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Trouble using Spike Relay

Quote:
Originally Posted by X-Istence View Post
What I found is that I had to use the following:

Code:
Relay * motorRelay;
 
motorRelay = new Relay(...)
 
motorRelay->SetDirection(Relay::kForwardOnly);
motorRelay->Set(Relay::kOn);
Without the set direction, or even by giving it a value like Relay::kForward it would not move.

After this everything worked just fine, not sure why.

However if you are saying your digital sidecar is showing the correct value, and yet the spike is not re-acting, I would not know, have you tried a different relay output?
We determined the one failure WAS attributable to the Spike (never had that happen before!), but the problem on the robot where we swapped the Spike remains. I'll have the rookie team recheck their crimp connections and wiring....
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
Reply With Quote