View Single Post
  #4   Spotlight this post!  
Unread 06-07-2015, 23:07
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Encoder programming help needed.

I'd suggest checking the values coming out of the Encoder Get to see if they are what you expect when the encoder is turning.

Verify:
1) That the encoder is working
2) The encoder is counting up instead of down (not -4.398...)
3) The calculation is giving the values you expected

You will need the Reset to get it to work more than once, but it can be dropped inside the True case in an additional case of it's own wired to the button (False).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 06-07-2015 at 23:16.
Reply With Quote