Single drone multiple radios
Posted: Mon Apr 20, 2020 12:50 pm
Hi everyone,
I was wondering if it is possible to setup a system where a CF2.1 is connected to a Crazyflie Client using a Crazyradio and to another computer with a Crazyradio.
The schema is:
CrazyClient <---> CrazyRadio <---> Drone <---> CrazyRadio <---> Crazyflie lib
|Main controller-----------------------------| |----------------------Secondary system|
|--------------------CTRP---------------------| |--------------------P2P---------------------|
I have been trying with P2P communication but the second radio (the one managed by Crazyflie Lib) is only able to send these kind of packages, so I can have bidirectional communication with the "Main controller" but only unidirectional communication between secondary system and drone. This last communication uses send_packet() of Crazyradio class in order to send messages and a function registered with p2pRegisterCB in the drone.
I have found that there is no receive P2P function in Crazyflie lib, so I was wondering if it possible to enable communication between the second crazyradio and the drone somehow.
Thanks!
I was wondering if it is possible to setup a system where a CF2.1 is connected to a Crazyflie Client using a Crazyradio and to another computer with a Crazyradio.
The schema is:
CrazyClient <---> CrazyRadio <---> Drone <---> CrazyRadio <---> Crazyflie lib
|Main controller-----------------------------| |----------------------Secondary system|
|--------------------CTRP---------------------| |--------------------P2P---------------------|
I have been trying with P2P communication but the second radio (the one managed by Crazyflie Lib) is only able to send these kind of packages, so I can have bidirectional communication with the "Main controller" but only unidirectional communication between secondary system and drone. This last communication uses send_packet() of Crazyradio class in order to send messages and a function registered with p2pRegisterCB in the drone.
I have found that there is no receive P2P function in Crazyflie lib, so I was wondering if it possible to enable communication between the second crazyradio and the drone somehow.
Thanks!