View Single Post
  #3   Spotlight this post!  
Unread 16-03-2004, 11:21
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Problems with Autonomous due to motor setup

The elegant solution is to have feedback so you can maintain consistent wheel speeds on each side. Banner sensors pointed at gear teeth or at reflective marks on the wheels, or rotary shaft encoders, or magnets and reed switches, or any of a number of sensors can let your software measure the actual wheel speeds. You can have the code adjust the motor drive pwm numbers to keep the speeds the same.

The other "cheap" solution is to figure out what pwm values cause the two motors to run at the same speed, and hardcode them into your autonomous mode software.