Page 1 of 1

Communication between 2 crazyflies and message passing

Posted: Sun Mar 10, 2019 1:16 pm
by Rohit Gowda
Hello I am a computer science Masters student, I was working on a project for a specific scenario where it includes communication between 2 crazyflies.
1. Basically When the battery of drone-A is going down, I want to trigger drone-B to start flying.
2. Here I need to pass the geo-position and of the drone-A to drone-B. so drone-B can take in that position.

I wanted to know the ways I can have communication between 2 drones and pass msgs.

Thank you

Re: Communication between 2 crazyflies and message passing

Posted: Tue Mar 26, 2019 5:01 pm
by Yoyasp
Easiest way i can think off is to use the PA dongle and let both drones communicate via your basestation/computer.

Set up a log variable on drone A to monitor the battery level, aswell as its position.
When the battery level reaches a certain threshhold give a command to drone B to fly to the last known location where the battery was not low.

Re: Communication between 2 crazyflies and message passing

Posted: Tue Mar 26, 2019 6:16 pm
by arnaud
I agree with @Yoyasp, while the Crazyflie hardware is capable of implementing direct communication between Crazyflies, nothing is implemented right now and the implementation would be much harder than passing by the base-station.

We have been thinking lately about adding a simple packet API that would allow the STM32 to send and receive raw packets, I created a ticket to explain the idea but I will most likely not have time to look at it soon, so any comment/help is welcome if anyone wants to poke in the nRF51 :).

Re: Communication between 2 crazyflies and message passing

Posted: Fri Apr 26, 2019 5:45 pm
by Rohit Gowda
Thank you for the reply.

Actually this is just an example scenario,

The main idea is to have a communication between two crazyflie quadcopters without the use of basestation.
1. Drone A tries to communicate with drone B by broadcast or 1-1.
2. And drone b acknowledges.

Re: Communication between 2 crazyflies and message passing

Posted: Tue Apr 30, 2019 1:05 pm
by SnakeWayne
it looks like some one has already done this. In https://ieeexplore.ieee.org/abstract/document/8461176/ they use token ring to enable communication between multi cfs. You can get the detail if you can contact the authors :)