Re: ar drone toolkit pitch roll problem


I found solution.. actually I was need to calibrate my Joystick and inside of program for Joystic usually people use parametar like constant 32768, of course. But...., when you looking inside control block -> Control Drone via Probes you can see that value goes from -1 to 0,996xxyy. So, after calibration of Joystick it is nessesery to adjust constant value of scaling factor that mach to defined boundary (from -1 to 1). At first moment 50-250ms is quickly passed . So, if you in this case just a little move Joystic; Roll and Pitc will work fine. So, again, if I press Take off and momentary make Roll or Pitch axis to move all working great later because scaling element is so small but at first moment very important for enable flag of controlling.

Problem solutiion, of course in Toolkit, actually is not problem, Toolkit is ok on each version, but we need in dependance of used GamePad or any input devices, analog, digital... put main value to central point and everithing will work on each Take Off without fast intervention of moving any axis (Roll and Pitch).

For my case I just change constant in box from 32768 to 32767  (after Joystick Cluster), then is scaling factor inside of 2nd or 3rd graphic hierarchy corrected from -1 to 1 (not from -1 to 0,996 and so on.....)

- Damir

0 Kudos