View Single Post
  #8   Spotlight this post!  
Unread 21-01-2015, 07:38
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How to Program the encoder?

The examples do show you how to read the sensor values. What you do with the results is up to you.

So what do you want to do with them? That's the question you need to answer in detail before you can get advice on how to do it. "Set distance" and "monitor travel" are too vague. You need to give much more detail on how your robot is designed, where you plan your sensors to be, and exactly what your goal is.