View Single Post
  #6   Spotlight this post!  
Unread 17-01-2016, 21:29
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Using Encoder to Drive a Certain Distance

Quote:
Originally Posted by curtis0gj View Post
Thanks so much this helped clarify things greatly. I just have two questions. First, I am trying to figure out if I should be using the k4x or k1x I am not sure I understand that 1/4 increments part you were speaking about. I was wondering if I needed to use k4x or k1x for this math.
It does not matter which one you use. The scaling is the same. The only thing that changes is you get 4x the resolution when you choose k4x.

Quote:
Originally Posted by curtis0gj View Post
Second, I am trying to figure out what the encoderGearRatio double is for. Does it have to do with the shaft the encoder is mounted on. Thanks.
Yes. That year we used the VexPro Ball Shifters. There was a 3:1 ratio between the encoder and the shaft. http://www.vexrobotics.com/vexpro/mo.../217-1718.html
Reply With Quote