-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loss packet in CRTP RX dispatch #434
Comments
Hi @ataffanel, does this solve the issue when there are more than 4 Crazyflies per radio? |
Hi @NicksonYap, it is unlikely to solve this problem. I suspect the problem lies on the other side, in the Crazyflie python lib, we track the bug at bitcraze/crazyflie-lib-python#118. |
From what I understood, Crazyswarm should not be facing the 4 Crazyflies per Crazyradio issue, right? |
Yes this is correct, Crazyswarm/the ROS Crazyflie driver has been shown to handle at least15 Crazyflies per radio. This is the main reason we suspect the python side for latency with multiple Crazyflie. |
Have you guys actually tried testing the 15 drones yourselves?
I actually couldn't get Crazyswarm to fly 7 drones with 1 radio, but with a
lot of tinkering i got it to work with 2 radios
However it could be due to a reception issue I had when CFs placed directly
on the ground (had to lift up the CFs with boxes)
I'll probably test this again with Crazyswarm
…On Tue, 25 Jun 2019, 4:22 pm Arnaud Taffanel, ***@***.***> wrote:
Yes this is correct, Crazyswarm/the ROS Crazyflie driver has been shown to
handle at least15 Crazyflies per radio. This is the main reason we suspect
the python side for latency with multiple Crazyflie.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#434?email_source=notifications&email_token=ABJBU63TUVQMIBRRJCRCOPLP4HIUDA5CNFSM4HTZDHQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYPOH4I#issuecomment-505340913>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABJBU673BJZBHQUIT5UOSXTP4HIUDANCNFSM4HTZDHQA>
.
|
We have not personally, but the video at the top of Crazyswarm documentation was done with only 3 radios to fly 49 Crazyflies. I have not seen communication problem on 2.4GHz when the Crazyflies are near the ground, if you manage to reproduce the problem please create a ticket about it. |
When a packet is received, it is dispatched to the correct port. This dispatch is currently using 1 packet queues and if the packet is not pulled fast enough by the port, the packet is just dropped.
We should instead relax a little bit the queues by adding more slot so that the task handling the port has time to get the data. At the same time we can add an ASSERT when a packet is dropped: lets have as a goal to never loose any packet and to design the communication protocol so that the transfer is throttled by design (like only allowing to send a new request when the previous answer has been received or to pull data fast enough in the Crazyflie so that it is not possible to fill up the port queue).
The proposal is to have 16 packets queue for each CRTP RX port.
The text was updated successfully, but these errors were encountered: