OPT4SMART / crazychoir

Flying Swarms of Crazyflie Quadrotors in ROS 2
https://opt4smart.github.io/crazychoir/
GNU General Public License v3.0
37 stars 3 forks source link

Crazyflies are unstable at takeoff #17

Closed ctab-0120 closed 4 months ago

ctab-0120 commented 8 months ago

Hi! I am trying to use the Webots simulator, specifically the formation control simulation. I am able to start the simulation correctly but when I click on takeoff on the gui interface, the drones (usually 2 out of 4) start oscillating back and forth and eventually crash. I tried to play with some of the parameters but I was not able to fix this issue. Any ideas of what I could be doing wrong?

lorenzopichierri commented 4 months ago

Hi ctab-0120!

Thank you for your interest in our toolbox, and I apologize for the delayed response. It seems the unstable behavior you're experiencing is related to a recent update in the Bitcraze firmware, which we haven't fully understood yet. However, we have solved this issue by using an older version of the firmware.

Please follow the new instructions using Docker, as it simplifies the installation and execution of our examples. We will also upload a tutorial video soon on writing distributed optimization algorithms for multi-drone applications from scratch.

Best, Lorenzo