|
Re: labview:what is the joystick axis?
Here is the full story. The values returned to the OS according to the HID standard are 16 bits, or -32k to 32k. To be send from DS to robot, they were scaled to -128 to 127.
Finally, to simplify the math and make things more consistent, most values to and from most I/O on the robot is in the range of -1 to 1 or 0 to 1. They are floating point numbers so that when the joystick is pushed half way it reads half, or 0.5. If you want it scaled back to any other range, just multiply.
Greg McKaskle
|