ranging data

Discussions about all things Bitcraze
Post Reply
Posts: 6
Joined: Tue Mar 27, 2018 7:10 am

ranging data

Post by 1016 »

I found some posts about peer-to-peer communication between Crazyflies but there were no exact explanation. I want to use other drone's real-time information.

I can get ranging data from loco positioning node to drone with positioning deck(DWM1000).
I wonder that if it would be possible to get ranging data between drone and drone modifying python code. Actually I think it can't be possible... Then do i need to modify firmware code? And is it possible that each drone exchange data in real-time?

Posts: 2275
Joined: Tue Feb 06, 2007 12:36 pm

Re: ranging data

Post by arnaud »

The Crazyflie hardware is able to to peer-to-peer communication but the firmware needs to be modified to allow it. The python code only runs on the computer so it will not help for direct communication.

I see two way to achieve the data exchange functionality:
- Make a python script that relays the data, that way the radio firmware of the Crazyflie does not have to be modified. You still need to add some code in the crazyflie-firmware to use the data.
- Add packet send to the crazyflie2-nrf-firmware radio driver, main loop and syslink communication. Add the new syslink packet to the crazyflie-firmware project and use it.

Post Reply