![]() |
Joystick Controls of Axis Camera
I added the Joystick code from the joystick input example in the servo camera example to control the servo camera via the joystick.
But, the example has 2 front panel controls which I am replacing with the output s of the "Get Joystick Axis" SubVI's. How do I scale the output values from 0 to 170? Thanks |
Re: Joystick Controls of Axis Camera
Use math functions. To turn a value between -1 and +1 to a value between 0 and 170, add one then multiply by 85.
|
| All times are GMT -5. The time now is 01:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi