View Single Post
  #5   Spotlight this post!  
Unread 20-02-2011, 17:01
Arthur But' Arthur But' is offline
Registered User
FRC #2213
 
Join Date: Nov 2010
Location: Israel
Posts: 17
Arthur But' is an unknown quantity at this point
Re: calculation for the potentiometer

Quote:
Originally Posted by MotorHead View Post
The main problem is scaling the signals. The potentiometer will be something like 0 - 10v, the joystick is in -1 to +1, and you are thinking in terms of angle of the arm. Take a look at the following link:

http://team358.org/files/programming...2009-/LabVIEW/

Towards the bottom is a good Labview example of slaving a Joystick to a potentiometer signal using PID. I think this is similar to what you want to do. Take a look and reply back with more questions.
It's a very nice web-page you have there.....
Anyway, the example is very similar to what i was asking.
For example: How do you calculate it so, 1.17 is 90 deg max down and 3.9 is 90 max deg up? and how can i change it to be for example, 40 deg max down and 60 deg max up?
Reply With Quote