Crazyflie_Communication_between each other

Firmware/software/electronics/mechanics
kimberly
Bitcraze
Posts: 459
Joined: Fri Jul 06, 2018 11:13 am

Re: Crazyflie_Communication_between each other

Post by kimberly » Wed Jul 29, 2020 6:52 am

In a sense, anything you would like and can translate in a 60 by uint8_t array. At this point it would be better if you would look into the code and doc I've provided earlier.



Hada Hamdi
Beginner
Posts: 7
Joined: Wed Jul 22, 2020 4:19 am

Re: Crazyflie_Communication_between each other

Post by Hada Hamdi » Fri Jul 31, 2020 5:02 am

Hi,
For example, I have 3 crazyflies; what I understood that p2p communication is like CF1 broadcasts messages to the others CFs: listeners, what I want, that all send messages to each other, in this case, all in mode broadcasts I think, there is no risk of information collision?.

kimberly
Bitcraze
Posts: 459
Joined: Fri Jul 06, 2018 11:13 am

Re: Crazyflie_Communication_between each other

Post by kimberly » Fri Jul 31, 2020 7:49 am

Yes there is chance of message collision. With broadcast it doesn't care about this since it does not expect a return message (the ACK). Normally, in non-broadcast mode, the CF that transmits will keep on sending the same message until he gets a reply. That is how he handles the message 'collision'

With broadcasting, just send the message several times and hope for the best. With 3 I don't think you will need to worry about it too much

Post Reply