|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
in labview i want to have the robot control speed not going in a linear line is want to to have more control at a lower speed. so i came up with the equasion : x axis squared/max input.. also i would do this same equasion with the y axis. the only thing that i cant find is the max input from the controller. is it 256 or 128? please help.
|
|
#2
|
|||
|
|||
|
Re: labview:what is the joystick axis?
mabe it is also called joystick axis output??
|
|
#3
|
|||
|
|||
|
Re: labview:what is the joystick axis?
It looks to me like the numbers are scaled between -1 and 1. If I remember right, the Y axis may seem backwards at first. pushing forwards is negative, pulling back is positive. HID must have been defined by a pilot.
Greg McKaskle |
|
#4
|
|||
|
|||
|
Re: labview:what is the joystick axis?
so it isnot -158 to 158. or 0 to 256?
|
|
#5
|
|||
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reversing the joystick axis | JBotAlan | Programming | 3 | 09-02-2005 19:47 |
| Tri-axis Analog Joystick | KVermilion | Control System | 5 | 19-01-2005 00:24 |
| pwm outputs vs. joystick y-axis | stephenthe1 | Programming | 4 | 01-12-2004 17:29 |
| Inverting Y axis on joystick | FormatteD_C | Programming | 7 | 24-02-2004 16:56 |
| switching joystick axis????? | team222badbrad | Technical Discussion | 9 | 16-01-2002 23:07 |