|
Re: Encoder Oscillation Issues
Try reversing the channel assignments. Move encoder 5 input to 3 and 3 to 5.Move encoder 6 input to 4 and 4 to 6. Does the problem move with the encoder hardware? If it does, then you have an encoder problem. If problem stays with 5 and 6 then you are looking for software problem. Does problem vary with speed? Is everything ok with slow rpms? What if you only run one motor at a time? Are the counts accurate? Problem may also be with the interrupt dispatch code. You did not post that section of code.
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
|