View Single Post
  #5   Spotlight this post!  
Unread 10-02-2015, 11:08
Optimism's Avatar
Optimism Optimism is offline
Registered User
AKA: Calvin Ly
FRC #2468 (Team Appreciate)
Team Role: Programmer
 
Join Date: Jul 2014
Rookie Year: 2012
Location: Austin
Posts: 13
Optimism is an unknown quantity at this point
Re: Fixing AndyMark's Swerve & Steer Module Problem

Team 2468 here,

We also solved this problem of steering direction by adding an absolute encoder.
We 3D printed a gear to be 1:1 with the steering module and meshed it with the gear driven by the PG71.
Our encoder is an absolute shaft encoder. We calibrated once by storing the value of each encoder in a file on the roboRIO when the wheels were all turned correctly, and now we read that file in the code to know which direction the wheels should face as forward.

A photo of our 3D printed gear on the swerve module is attached.
Attached Thumbnails
Click image for larger version

Name:	swerve encoder gear.jpg
Views:	189
Size:	1.34 MB
ID:	18259  
Reply With Quote