Go to Post Technology is everywhere, yet the human factor is what makes an event special. - synth3tk [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #2   Spotlight this post!  
Unread 03-02-2005, 17:40
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Killough platforms (A.K.A Holonomic/kiwi drive)

I've never programmed one for the RC, but I have for LEGO.

The first thing I'd say is that the motors that come with the kit have a prefered direction, meaning they spin better one way than another, which is why you get the clockwise vs. counter-clockwise thing. (All motors have this problem, but for really good ones, the difference is neglible.) This is also the reason you don't go straight, even though the same value is being sent to the motors which are currently driving you.

There are two ways to correct this. The first involves some semi-complicated programming because you create a PID loop. The idea of this loop is that it will monitor your wheel rotations (using encoders or some such thing) and if anything disturbs the speeds from the values you request, such as a bump or one motor running slower than the other, it will adjust the outputs automatically.

The other way is to use encoders (or some other method) to measure the difference in the motor speeds and hard code that into your program. Obviously, it isn't as elegant and is harder to change when you motors get more broken in (or broken ), but it's fast and easy... Actually, with a Killough, it may be just as difficult to do, because you must store the differences between all (3? I'm assuming a normal setup) the motors and choose the right one to use for which ones you are currently running.

Hope that helps!

P.S. What motion exactly are you refering to when you say straffing? One motor on full? Two? Two at differing speeds? Maybe I'm just not thinking right now...
__________________


Last edited by Ryan M. : 03-02-2005 at 17:43.
 


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
Globe gear box Pat Roche Motors 9 25-05-2004 22:50
Pressure on Drive Team David66 General Forum 52 30-03-2004 14:31
What is wrong with this code???? It won't Compile and I don't know why? Please Help CrashZero Programming 23 26-03-2004 09:44
what's your most important drive train advice? Ken Leung Technical Discussion 42 07-01-2003 09:58
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32


All times are GMT -5. The time now is 21:48.

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