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
Communication between 2 crazyflies and message passing
-
- Beginner
- Posts: 2
- Joined: Tue Feb 12, 2019 9:30 pm
Re: Communication between 2 crazyflies and message passing
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.
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
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 .
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 .
-
- Beginner
- Posts: 2
- Joined: Tue Feb 12, 2019 9:30 pm
Re: Communication between 2 crazyflies and message passing
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.
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.
-
- Beginner
- Posts: 4
- Joined: Mon Apr 01, 2019 4:19 am
Re: Communication between 2 crazyflies and message passing
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 :)