-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Hello,
When connected to multiple Crazyflies (2.0) on the same radio, sending setpoints (Commander, port 3, crtpSetpointRequest) to more than one CF results in very poor performance in flight. I suspect this is because by default this packet is ack'd and is sent on a unicast-type link, so switching between each of the CFs causes a bottleneck. The CrazyflieBroadcaster class doesn't have an appropriate method for sending these packets; they don't have an id field associated with them.
What would be the appropriate way to send crtpSetpointRequest packets to multiple connected CFs? I have tried sending these via sendPacketNoAck() methods (with arc set to zero, and forcing setAckEnable to false after initialisation), however, I can't definitively say that this has improved anything much.
This may be an unusual use-case, so, apologies if there's a better/recommended way of achieving this that I haven't found.
Thanks for all the work on the cpp libraries!