
26-01-2016, 23:54
|
 |
"Cool" Squad
AKA: Mitchel Stokes
 FRC #5817 (Uni-Rex)
Team Role: Mentor
|
|
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 360
|
|
|
Re: Encoder on SRX Returning wildly differing values
Quote:
Originally Posted by Tparbotmail
Just hooked up our E4P encoders, and we are getting wildly differing values. I confirmed that my java code matched the the rio browser selftest output. All firmware is up to date. I am pretty sure it is not a coding problem.
If you push the joystick forward for 2 seconds 1 encoder will read several thousand revolutions the will read a couple hundred. The wheels are spinning just fine. The robot move in perfectly straight line.
How do you confirm that an encoder is damaged or wired incorrectly?
|
Do you have the encoder counts per revolution configured correctly? This was an issue for us for a little while.
__________________
My FRC History:
2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder
|