Huge dead zone in my joystick
Huge dead zone in my joystick
I'm controlling my crazyflie using an RC controller in USB joystick mode. Under Windows and MacOS it behaves flawlessly, in the Bitcraze VM in CFClient there is a *gigantic* dead zone in the middle, like a good 10% of mid-stick. Is there a way to turn this off?
Re: Huge dead zone in my joystick
Never mind, found the dead band code in cfclient. It would be a good idea to expose this to the user.
Re: Huge dead zone in my joystick
Just for my own curiosity, when you said it behaves flawlessly under Windows and MacOS X, did you mean that it works flawlessly with the CFClient running on those systems and it is different on the Linux system on the VM? Or, did you mean it works with other applications on those systems? It would be interesting to know if the deadband is the same in CFCLient running on MacOS X or Windows as it is on Linux...Analogy wrote:I'm controlling my crazyflie using an RC controller in USB joystick mode. Under Windows and MacOS it behaves flawlessly, in the Bitcraze VM in CFClient there is a *gigantic* dead zone in the middle, like a good 10% of mid-stick. Is there a way to turn this off?
I think it's likely not exposed in the GUI because the CFClient was built around the idea that people would be using an Xbox or PS3/4 controller. Might be worth a feature request to make a an interface for adjusting that though. Logging it on GitHub might get it more attention.Analogy wrote:Never mind, found the dead band code in cfclient. It would be a good idea to expose this to the user.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Re: Huge dead zone in my joystick
Oh, I meant that my joystick works flawlessly in mac and windows. I can't get cfclient to work in OSX and haven't bothered attempting Windows. After hacking the deadband out of CFClient in my Bitcraze VM it works great in there too.
Re: Huge dead zone in my joystick
I see. Thanks!Analogy wrote:Oh, I meant that my joystick works flawlessly in mac and windows. [...] After hacking the deadband out of CFClient in my Bitcraze VM it works great in there too.
This is how I got it working on Mac OS X. PyQT has some refresh issues (switching apps forces a refresh to correct it) but I prefer running natively than through the VM myself.Analogy wrote:I can't get cfclient to work in OSX and haven't bothered attempting Windows.

Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.