Replies: 3 comments 18 replies
-
@whoenig I have a little doubt, why I can control 10 cfs with a single PA without non-response (100HZ motive output, 20hz cmdposition output), but I cannot control 20cfs with a single PA (30hz motive output, 20hz output) cmdposition control) |
Beta Was this translation helpful? Give feedback.
-
cmdposition is using unicast communication, so for 100Hz motive+20Hz cmdposition, you will send 100+20x10=300 packets/seconds. In the other case, you try to send 30+20x20=430 packets/second. In the use-case of cmdposition, I suggest using more radios to balance the load. There are no current known bugs with respect to multi-threading and multiple Crazyradios. I don't think you are hit by the flow control issues (tracked bitcraze/crazyflie-firmware#703). There were a number of communication-related improvements in the firmware lately that you could try (but I think ultimately, you just need more radios). You can always install the latest official firmware, as the Crazyswarm does not require a special version anymore. Also make sure that logging is disabled, otherwise you need even more radio bandwidth. |
Beta Was this translation helpful? Give feedback.
-
@whoenig @jpreiss I want to tell you that I found a problem with using cmdposition to take off multiple cfs in the test, and I found a feasible solution. I have only tested this solution to solve the cmdposition problem, but I still don't know the reason for this phenomenon. [My current solution]:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@whoenig I hope to use less positioning data (motive outputs 30HZ positioning data, and crazyswarm only sends position data) to use cmdposition commands to control more cfs. In the case of using only a single PA, I have successfully implemented the flow control of the cmdposition of 10 cfs.
When I use a single PA and try more numbers, there are some communication-related phenomena:
Because in the whole process of the test, I only use one PA, this error phenomenon has nothing to do with the multi-threading problem of multiple PA communication.
I guess this phenomenon is related to what you said, there is no flow control between NRF51 and the STM32, and the firmware has bugs. Therefore, I want to try the repaired firmware. I would like to ask:
Beta Was this translation helpful? Give feedback.
All reactions