bitcraze / aideck-gap8-examples

Examples on how to use the GAP8 on the AI-deck
50 stars 53 forks source link

wifi-img-streamer slows down when there are multiple streamers #129

Closed williamleong closed 3 months ago

williamleong commented 1 year ago

With 1 wifi-img-streamer running, the rate is about 8Hz but when two Crazyflies are streaming to the same computer, the rate slows down to 6Hz and performance gets worse when there are more streamers. We expect to run >10 streamers without bottlenecking.

We observe this issue with different WiFi routers. It doesn't seem like the images being transferred would use up that much bandwidth on a high end router (Linksys EA9300).

Does anyone else have the same experience? Could it be due to the way the images are sent by TCP?

williamleong commented 3 months ago

Some update with this - we managed to get acceptable results with >15 Crazyflies streaming with JPEG instead of raw.