Go to Post At my age I don't celebrate birthday's anymore. I'd rather hang out with teenagers and build robots and be in complete denial about my aging. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 15-02-2007, 13:09
mluckham's Avatar
mluckham mluckham is offline
Registered User
FRC #0758 (Sky Robotics)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Ontario, Canada
Posts: 116
mluckham will become famous soon enoughmluckham will become famous soon enough
Re: Robot won't go straight

So if you push the joystick straight forward and give the identical values to the PWMs on both sides, the robot will curve (say) left going forward, and right in reverse.

Whether the motors "prefer" to go more easily one direction than another, you have different friction to overcome in the drive mechanisms on each side of the robot, or there is 'Victor bias', you have to do SOMETHING!

We have used this test:

Record the PWM output values required to start the left side wheels moving, in both forward and backward directions. Ours are something like 127+8 and 127-15.

Repeat on the right side. We found 127-8 and 127+15.

Allowing for the sign, it looks symmetrical doesn't it?

To solve this problem simply, just add a constant of 15-8 = 7 to the PWM on the slower side to make the motors spin the same. When going forward, add the constant to one wheel, in reverse add the constant to the other one.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Robot Technology We Won't See In FIRST petek Math and Science 0 08-05-2006 08:40
Robot doesn't drive straight bush Control System 14 09-02-2006 00:00
Speed controllers won't communicate w/robot controller steven114 Control System 12 03-02-2005 21:26
Speed controllers won't communicate w/robot controller steven114 Electrical 12 03-02-2005 21:26
Shipped straight to Florida.... archiver 2001 3 24-06-2002 01:54


All times are GMT -5. The time now is 13:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi