Multiple AI deck streaming #429
Replies: 2 comments 4 replies
-
Which backend do you use? We have flown 3-4 CFs with AI deck using the cpp backend before. There is definitely some interference between radio and Wifi and things get worse when the motors are one (i.e., if you are flying). If you use the latest version and the cpp backend, there are some very handy communication statistics in the //status topic and (if enabled) in the //connection_statistics topic. It would be helpful to post these. For testing, it also helps to simply remove the propellers for testing to avoid actual crashes and watch out on the topics mentioned above for strange changes whenever you enable the wifi streaming. |
Beta Was this translation helpful? Give feedback.
-
All the data you show look reasonable to me. Even the warnings you get may be "normal", since the thresholds are pretty low by default. Latencies below 30 and rates above 0.7 shouldn't cause major issues. Perhaps a better way would be to figure out the cause of the crash directly. Once it crashes, does it reboot and the LED blinks fast? If so, you can connect via the CF client and click in the console tab on "Assert Info" to get some information why it rebooted. If not, it would be useful to also add the uSD-card deck (this requires some soldering and a custom firmware, but I believe Bitcraze has documented the process) and log data on-board at a higher rate, e.g., to see when and what kind of motion capture information was received. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to stream images from multiple AI decks while flying and find that when trying to stream from multiple Crazyflies at the same time, one by one they get unstable and crash.
I've configured the crazyflies to connect to my network and they can stream video stably at ~7 fps. I can also fly crazyflies normally without the aideck attached. However, when I attach the aideck they will get unstable, seemingly at random, fail the dynamic check and then crash. Typically one will crash every 10-20 seconds, but the timing varies. Other than the aideck, the only deck attached to the crazyflies is a single mocap marker.
With 4 crazyflies + aidecks I've tried 1-4 crazyradios (single channel per radio) but it hasn't made a difference. i.e one radio/channel for all crazyflies, a separate radio and channel for each, or 2 pairs of each. I've also tried different channels from 20-120, when using multiple channels they're separated by at least 4. Always at 2MHz bandwidth, and I've found radios disconnect due to packet loss even at 1MHz. Normally I am logging Odometry, but I've tried without logging and the issue still occurs.
I was wondering if there are other suggestions for what I could try, or if you think this is even possible?
Let me know if you need anymore info.
Setup:
Ubuntu 22.04
ROS2 Humble
Motive 2.3.1
Crazyflie 2.1
Crazyradio PA
Beta Was this translation helpful? Give feedback.
All reactions