Thread: Swerve drives
View Single Post
  #14   Spotlight this post!  
Unread 19-04-2014, 14:42
The Doctor's Avatar
The Doctor The Doctor is offline
Robotics is life
AKA: Hackson
FRC #3216 (MRT)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 155
The Doctor is on a distinguished road
Re: Swerve drives

Quote:
Originally Posted by ekapalka View Post
I'm not sure if this is true or not, but I've been told that a good thing to use for swerve drives are ten-turn potentiometers. The benefit being that you can easily plug it into the following
Code:
angle=(potentiometer_voltage-inherent_zero)*voltage_to_degrees
to get to the angle, whereas with other potentiometers you need to account for some sort of wraparound
Team PWNage was using a $60 Absolute value encoder to figure out the angle.