![]() |
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() ; |
Re: range of joystick input?
Quote:
Code:
throttleSpeed = (rightStick.getZ()+1)/2 ; |
Re: range of joystick input?
Perfect, thank you.
|
| All times are GMT -5. The time now is 03:26. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi