Go to Post Are you confused yet? - Andy Grady [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2004, 11:53
ShadowFlame ShadowFlame is offline
Registered User
#0145
 
Join Date: Feb 2004
Location: Chenango County, NY
Posts: 1
ShadowFlame is an unknown quantity at this point
Proportional Control and Acceleration

The rest of the controls team on our team are having trouble figuring out how to use a 10 turn potentiometer to regulate the position of a Van Door motor, to make it line up with a 3/4 turn potentiometer on our driver controls. We can't figure out the math, and how we would write it into our code. Thanks for any help!!

*Edit* We are also having problems figuring out to write code for accelerating and decelerating (in incremenets of 5). The current loop in the code would have "lw" for the left wheels and "rw" for the right wheels, and the variables we use for the value of those motors for the previous loop with would be "lw2" and "rw2". The equation we thought of was "lw = lw2 - p1_y", but we don't know how to find the value of "lw2" or "rw2". If this equation is wrong, please let me know if you can think of a better one. Again, thanks for any help!!

Last edited by ShadowFlame : 14-02-2004 at 12:39.
Closed Thread


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
PID control loops - closed loop feedback KenWittlief Technical Discussion 56 26-04-2004 21:27
What do you wish you knew about the new control system? Joe Ross Control System 2 09-01-2004 21:47
Need a FIRST Robotics control system kershawrobotics General Forum 3 07-07-2003 09:49
more control options smokescreen Technical Discussion 17 05-03-2002 15:41
goals: how much control? Pat Sarmiento Rules/Strategy 2 18-01-2002 19:10


All times are GMT -5. The time now is 04:24.

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