Quote:
Originally Posted by Mark McLeod
Another thing to look for with the Kit encoders is extra play in the encoder shaft. If the shaft can be push/pulled even a little bit, then the encoder discs can shift into and out of range to disrupt your readings.
|
The problem is not that we have wonky readings, but that we have none at all. We either have readings from the left side and none from the right side, or readings from the right side but none from the left side.
Quote:
Originally Posted by slijin
Just to clarify, "ds" here refers to the digital sidecar here, right? (In my experience, DS is used for the Driver Station and DSC for the digital sidecar). It's probably not your problem, but was your ribbon cable checked and fixed correspondingly?
|
Yes, ds is digital sidecar, and the ribbon cable was checked and fixed (Victor's weren't blinking).
Quote:
Originally Posted by slijin
What, if anything, did you change to switch which encoder you can read data from?
|
We switched out what we thought was a faulty encoder on the drive train after we were only getting readings from one encoder at a time by switching the wires only at the encoder, not on the ds.
Quote:
Originally Posted by slijin
Were they the ones received in the KoP this year or from AM FIRST choice? If the answer is yes to either, then you're using the E4P encoder with a 360 CPR wheel.
|
http://www.andymark.com/product-p/am-0174.htm
Quote:
Originally Posted by Bongle
Is your digital sidecar fully powered?
We had a very similar problem, but with PWM outputs in the offseason - we could power one side of the 2011 robot or the other side, but it would fail if we tried to drive all 4 drive motors. It turns out the DS can draw enough power from the data cable to power up to 3 PWM outputs, but once you try for 4 it fails. Once we figured out the power problem, everything worked. Maybe this failure mode applies to the digital inputs too?
|
Don't think so, as we have had 4 working encoders before earlier in the season and both sides of the drive train (2 CIMS on each side) works great.
Quote:
Originally Posted by remulasce
Have you ensured you have wired it correctly? Can you get your two robots together and plug the known good encoders into your new robot, and vice versa, to test where the difference lies?
|
The encoder wires we are using for the drive train are soldered together the same way the encoder wire for our shooter is, which works. (1 PWM white-yellow, the other PWM black-brown, red-orange, and blue-white) We have even replaced one of the encoder wires that we believed was faulty with no results.