Different hovering performance in position hold assisted mode and command based flight control #2116
Replies: 2 comments 1 reply
-
|
Hello @danielfhnw! The issue you’re describing might be related to the characteristics of the positioning system you’re using. The Loco positioning system doesn't track the yaw of the Crazyflie. So, if the initial orientation of the drone (before taking off) is not close to 0, it will start flying uncontrollably trying to "calibrate" itself after some time. Let us know if starting with 0 yaw fixes this behavior or if we need to further investigate this issue. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @ArisMorgens! Thank you for the quick reply. command based flight control with no further inputs than take-off and land with default controller settings: position hold assisted mode with only using the up/down stick: I have now detuned the position controller P value from default 2.0 to 0.5 and the flightbehaviour got better. I assume that the position controller was to reacting to aggressive to position error spikes due to the loco positioning system. For now I am happy and can fly my scenarios because I do not need a very fast position controller in my setup. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am using a Crazyflie 2.1+ with added Loco Positioning deck and Flow deck v2. To communicate to the drone I am using my laptop running the CFClient and a Crazyradio 2.0. All the firmwares are updated to the latest releases.
When flying with a gamepad in position hold mode I experience a position uncertainty when hovering of about 10 cm with all the sticks released, as I would expect.
But when I use the Command Based Flight Control Take off Button the Crazyflie drifts around with an uncertainty of about 50 cm, but still corrects itself back to the original position.
I also encounter the same behaviour when commanding through a python script.
Why is that? Are there two different controllers running in command based flight control and position hold assisted mode using a gamepad?
If yes, can I use the controller for flying with a gamepad in my script?
Any help is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions