Quote:
Originally Posted by X-Istence
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....