Go to Post I also hate it when I keep seeing this message: "You must spread some Reputation around before giving it to Andy Baker again." - dlavery [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 15-10-2004, 22:26
George1902's Avatar
George1902 George1902 is offline
It's a SPAM thing...
AKA: George1083; George180
FRC #0180 (SPAM)
Team Role: Mentor
 
Join Date: Dec 2001
Rookie Year: 1998
Location: Stuart, FL
Posts: 785
George1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond reputeGeorge1902 has a reputation beyond repute
Re: Create a low speed drive in programming

Quote:
Originally Posted by Bharat Nain
We can't just divide all the values by 2 because that moves the center from 127 to 63.5.
You can divide by 2 then add 63.5.

[edit]

You might want to tweak that reduction ratio a little, though. For example, you might want to multiply by 2/3 or 3/4 instead of 1/2. Whatever you decide to do, you can recenter your range by adding whatever it takes to get your center back to 127.

So a formula would be:

x1*reduction_ratio + (127-127*reduction_ratio)

And the same for y1
__________________
George

"Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that."
-- Martin Luther King, Jr.

Last edited by George1902 : 15-10-2004 at 22:34.
 


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
what's your most important drive train advice? Ken Leung Technical Discussion 42 07-01-2003 09:58
Power, speed, and torque... AGH Gui Cavalcanti Technical Discussion 5 10-11-2002 19:02
Quad- 1/2 track drive system Ben Mitchell Technical Discussion 24 30-01-2002 11:55
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32
Drivetrain Help Jordan Technical Discussion 16 02-12-2001 12:14


All times are GMT -5. The time now is 20:38.

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