shtejv / ARDrone-Control-.NET

ARDrone Control library
http://www.parrotsonjava.com
92 stars 84 forks source link

Joystick deadzone please #36

Open Tellurico opened 12 years ago

Tellurico commented 12 years ago

Hi and congrats for this great project! I am testing the Drone with various controllers and most of them have a small noise around the central position (especially gamepads which are extremely sensitive).

I tried using DXTweak2 and I could manage to reduce the axis sensitivity (it would be great to have a way to setup joypad axis curves or maximum drone inclinations as in most iOS drone apps), but in W7 there is no way to modify "global" deadzones.

It would be great to have a reverse axis feature as well.

Thank you, best regards

Giuliano

Tellurico commented 12 years ago

Another issue: I bought an Xbox 360 controller to try it, and I noticed the right stick can't be assigned and is not recognized in the joystick configuration (probably because axes are called X Rotation and Y Rotation?):

Xbox Controller

shtejv commented 12 years ago

The XBox360 controller is currently not fully supported, that's right. There is already another issue, but I personally don't own this controller, so I won't be able to support it right now.

My controls don't have that kind of noise in Windows 7 ... @All: Are there more people with the same problems?

Tellurico commented 12 years ago

Just to clarify, with my Logitech Dual Action joypad these are the input amounts I get leaving both sticks in neutral position:

DualAction

Due to the extreme sensitivity of the Drone, such small amount is enough to get a slight drift in a direction when controls are not used and Hover mode is not enabled.

shtejv commented 12 years ago

Is roll always 0.005 when your gamepad is centered, or does it change over time?

Tellurico commented 12 years ago

It is completely casual, I can bring it to 0 moving it slowly. This just shows how imprecise is the center point. A 1% fixed deadzone would fix my issue ;)