|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
Re: Servo control with a joystick
Thanks!
Just to verify: Code:
public double convert(double input) {
//newValue = newMax + (newMax - newMin) * (oldValue- oldMax) / (oldMax - oldMin)
input = 1 + (1 - 0) * (input- 1) / (1 - -1);
return input;
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with servo control | Jake The Man | NI LabVIEW | 2 | 09-02-2010 23:23 |
| Joystick-Servo control | Lumit | NI LabVIEW | 1 | 08-02-2010 23:21 |
| Camera servo control off of the Joystick axes | m3rc1l3ss | NI LabVIEW | 5 | 13-03-2009 20:00 |
| We need help with joystick control | Team ICE #1611 | Control System | 4 | 24-01-2005 15:57 |
| how do i control a piston with a joystick | Ryan Foley | Programming | 2 | 27-05-2003 17:13 |