View Single Post
  #5   Spotlight this post!  
Unread 09-02-2015, 15:32
Team 288's Avatar
Team 288 Team 288 is offline
Team 288 - Spare Parts
FTC #0288 (Spare Parts)
Team Role: Coach
 
Join Date: Oct 2008
Rookie Year: 2004
Location: St. Louis
Posts: 32
Team 288 is a jewel in the roughTeam 288 is a jewel in the roughTeam 288 is a jewel in the roughTeam 288 is a jewel in the rough
Re: Fixing AndyMark's Swerve & Steer Module Problem

Quote:
Originally Posted by Tom Line View Post
Wouldn't you have been able to count the revolutions in code and make it work that way? I would wager that is what Andy Mark expected you to do.

It's not all that different from needing a scaling factor for your drive encoders or for any other sensor. I understand it would be more convenient if one revolution of the module = one revolution of the encoder, but having one revolution of the module be more than 1 revolution of the encoder actually makes your measurement system more accurate.
Yes, there was an option to fix the problem with programming. This was not an ideal solution because this would mean 3.3 rotations of the sensor per wheel revolution. This means that you would not be able to "zero" the wheels automatically on power up. You would have to put the robot on the field with the wheels pinned and then turn on the power so that the robot knows the exact position of the wheels. If you ever had a power loss during a match you'd be in trouble because your wheel positions would likely be messed up.

AndyMark did not mean for it to be that way. I spoke with Danny Blau from AndyMark before ordering the absolute sensors and he explained in detail the way they were "meant" to work. They were intended to be ABSOLUTE, meaning you always know the wheel position.
__________________
Charlie Blair
Electronics Instructor at Gateway Institute of Technology High School
Head Coach for FTC teams at Gateway Institute of Technology High School since 2005
Planning Committee Member, St. Louis Regional FTC
Mentor to Team 931 Perpetual Chaos since 2004
FRC Volunteer
Reply With Quote