|
Hello, I am working with a swarm of 8 crazyflies, each with an AI deck. Optical flow extracted using NanoFlowNet is used to estimate where obstacles could be in the field of view of the AI deck camera. A simple waypoint mission is executed using crazyswarm2's I want to achieve obstacle avoidance by imitating another crazyflie where the obstacle is, triggering collision avoidance. I looked at this conversation between @whoenig, @jpreiss and @krichardsson. I want to pose some questions based on what I am planning to do on a lower level:
Best regards |
Replies: 1 comment 2 replies
|
Hi! Let me try to help out here:
|
Hi! Let me try to help out here:
1-
crtp_localization_services.his mentioned as that is actually the code that handles the receiving of the position of the crazyflie as measured by external positioning systems. If this is done by monocast (crazyradio <-> 1 crazyflie), then the crazyflie receives only it's own pose by the external mocap system. Crazyswarm supportst broadcast (crazyradio <-> multiple crazyflie), so the packet send is not only for just on 1 crazyflie but for them all, meaning that it will contain the position of all the crazyflies that the broadcast is meant for. In that situation, all crazyflies will receive the positions of everyone but it filters out it's own (see here)…