|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Playstation controller
The joystick Get() method returns a floating-point value from -1 to +1. The neutral "middle" value should be 0. The range is not as important as the resolution, and the resolution is basically set by the hardware implementation in the controller.
|
|
#2
|
|||
|
|||
|
Re: Playstation controller
Ok Alan... I know that, I would like to know if there is a way to "distribute" the axis in a more even way . . .
but I tried it on the computer and got the same results, thanks |
|
#3
|
|||
|
|||
|
Re: Playstation controller
What you may be looking for is a nonlinear mapping. You might try squaring the joystick value before sending it to the motor. That will give you a more gradual action away from zero. Going the opposite directly, a sign preserving square root would be interesting.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| playstation first controller | starsROBOTICS | Programming | 4 | 23-03-2008 23:28 |
| playstation 2 controller to transmitter | starsROBOTICS | Control System | 0 | 22-03-2008 21:58 |
| Playstation controller code help | haywirerobotics | Programming | 4 | 25-01-2007 00:16 |
| playstation controller conversion | jpyro | Electrical | 6 | 31-01-2006 17:52 |
| Connect Playstation Controller to PC USB. | kirov | Control System | 1 | 28-02-2005 08:24 |