Communication between 2 crazyflies and message passing

Discussions about all things Bitcraze
Post Reply
Rohit Gowda
Beginner
Posts: 2
Joined: Tue Feb 12, 2019 9:30 pm

Communication between 2 crazyflies and message passing

Post 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
Yoyasp
Beginner
Posts: 19
Joined: Mon Jan 14, 2019 2:41 am

Re: Communication between 2 crazyflies and message passing

Post 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.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Communication between 2 crazyflies and message passing

Post 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 :).
Rohit Gowda
Beginner
Posts: 2
Joined: Tue Feb 12, 2019 9:30 pm

Re: Communication between 2 crazyflies and message passing

Post 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.
SnakeWayne
Beginner
Posts: 4
Joined: Mon Apr 01, 2019 4:19 am

Re: Communication between 2 crazyflies and message passing

Post 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 :)
Post Reply