Page 1 of 1

[solved] Low-Level Control 3-Crazyflie with 1 Dongle

Posted: Wed Jul 15, 2020 4:53 pm
by tungkstn95
I am an beginner of researching into Crazyflies. I am doing the Formation Control, it means controlling multi-crazyflie with consensus, which is really different to the examples of swarm.
In this topic, I need to send the commander_setpoint (roll, pitch, yaw, thrust) to each Cf2. if the new command need to be send sent to Cf2 more than 500ms, the motors will be cut off.
I tried to send that command to 2-3 Cf2, the motors suddenly cut off after a few seconds.
Anyone faced that same problem?
Please give me an advice.

Re: Low-Level Control 3-Crazyflie with 1 Dongle

Posted: Thu Jul 16, 2020 8:14 am
by kimberly
Please checkout this documentation. It is due to the

Code: Select all

COMMANDER_WDT_TIMEOUT_SHUTDOWN
define probably.

You can look into how to use the high level commander. (and please let us know if the documentation is unclear about this. Its work in progress)

Re: Low-Level Control 3-Crazyflie with 1 Dongle

Posted: Tue Jul 21, 2020 8:00 pm
by tungkstn95
Thanks for your reply. I have solved my problem related programming. After starting each Cf2 by a thread, I should use While loop (pass) in the end of the main loop.

Re: Low-Level Control 3-Crazyflie with 1 Dongle

Posted: Wed Jul 22, 2020 8:01 am
by kimberly
Great! thanks for letting us know