View Single Post
  #8   Spotlight this post!  
Unread 27-01-2016, 15:25
Zebra_Fact_Man's Avatar
Zebra_Fact_Man Zebra_Fact_Man is offline
]\/[ Go Blue!
AKA: Solomon
FRC #1076 (Pi Hi Samurai)
Team Role: Coach
 
Join Date: Mar 2012
Rookie Year: 2006
Location: Ann Arbor, MI
Posts: 464
Zebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant future
Re: In need of assistance

Quote:
Originally Posted by Railbots View Post
We need some help regarding our robot. What are some possible causes of one side of the robot to move slower than the other.
I appreciate your time in answering our question.
Based on nothing else other than helping rookies before, and having MANY rookie students go through my teams, chances are your problem is due to motor optimal rotation direction. All motors have a preferred way to rotate, and when rotating the opposite direction they rotate slower. The math isn't so simple, but it averages out to about 85% speed of the optimal direction. When you build a robot, normally motors on one side spin optimally, and the other side spins in the opposite direction, non-optimally, causing you to veer off in one direction consistently.

A few ways to fix this:
a) make all motors spin in the same direction. Not so easy if using the KOP drive train, direct drive a wheel to the gearbox axle, or like symmetrical chassis designs.
b) use some sort of autocorrect system, like a gyro or encoders.
c) quick and dirty fix - reduce the optimal speed side limit to 85% max speed in the code. You can play around with the number until you are happy and the robot is driving straight.
__________________
My Journey in FIRST:

Mentor/Coach/Engineer
2014-2017: Team 1076 - Pi Hi Samurai
____ 2014: Team 5220 - The Rockets
2009-2014: Team 313 - The Bionic Union/Bionic Zebras
Student
2006-2009: Team 313 - The Bionic Union

Last edited by Zebra_Fact_Man : 27-01-2016 at 15:29.