-
Hi, I am currently starting to work with crazyswarm and crazyflies(2.1). I installed and configured everything, but I have big troubles with the first hovering with HW. Everytime I execute the hello_world.py, the crazyflie flips over or flies somewhere. I also tried to change the drone, but the issue remains. Is it possible, that I made a mistake, when setting up crazyswarm? Thank you in advance! Regards Florian |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 18 replies
-
Just to help out for the maintainers: it will be good to mention what kind of positioning system you are using or specifically which decks. If you are using one crazyflie, before flight, you can see in RVIZ if the position is converging and stable by just holding it in your hand. Also you should let us know on which version of the firmware of the crazyflie firmware you have flashed your crazyflie with. |
Beta Was this translation helpful? Give feedback.
-
Hello, sorry you are right, I should have written more information. I use Optitrack system to track the crazyflies with a single marker. When I start RVIZ the drone position is stable, also when I move it, the position moves stable. I flashed the drone in the crazyflie client with the latest FW (I think 2022.01) |
Beta Was this translation helpful? Give feedback.
-
Perhaps you forgot to update your Crazyradio firmware? This needs to be done even if you use a "recently" bought radio. You can check by either installing an LED ring (should show green) or setting enable_pose_logging to true if the data is transmitted correctly. |
Beta Was this translation helpful? Give feedback.
-
I hav now tried to upadate the FW as @whoenig mentioned. Now the drone is flying a bit more stable, but the problem is still there. Here i uploaded a video of the flight now: https://youtu.be/COTS-W2y-OM I have also tried to changed the targetHeight to e.g. 0.5, but the same behavior appears. |
Beta Was this translation helpful? Give feedback.
I hav now tried to upadate the FW as @whoenig mentioned. Now the drone is flying a bit more stable, but the problem is still there.
I also tried to change the controller to PID as @knmcguire mentioned, but unfortunately this doesn't change anything.
Here i uploaded a video of the flight now: https://youtu.be/COTS-W2y-OM
I have also tried to changed the targetHeight to e.g. 0.5, but the same behavior appears.