|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
range of joystick input?
I'm setting up a throttle control for our bot, using the Z axis (throttle control). The code I'm using to get the value of the Z axis is:
Code:
throttleSpeed = rightStick.getZ() ; |
|
#2
|
|||
|
|||
|
Re: range of joystick input?
Quote:
Code:
throttleSpeed = (rightStick.getZ()+1)/2 ; |
|
#3
|
|||
|
|||
|
Re: range of joystick input?
Perfect, thank you.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Joystick values out of range | Sentient | Programming | 0 | 14-02-2009 09:35 |
| Joystick Input Mapping | ExarKun666 | Programming | 14 | 25-04-2008 08:41 |
| Joystick Input calibration in software | LieAfterLie | Programming | 3 | 14-02-2007 21:44 |
| issues limiting a joystick input | Unholy | Programming | 7 | 12-02-2006 19:53 |
| change pwm range preserve input sensitivity | Superstitions | Programming | 6 | 11-02-2006 20:59 |