- Beakout boards
There has been some work on Flying Crazyflies using TDoA measurements. This is still very experimental and not tested a lot but is is already pushed in our github repos.
Currently anchor positions are not transmitted with the ranging data from the anchors (as in TWR mode) and the anchor positions must either be hardcoded in the Crazyflie firmware (compile time in locodeck.c) or set using the parameter sub system in run time. When using ROS, the anchor positions are usually set in run time. The examples python scripts in crazyflie-lib-python do not set the anchor positions and assume they are hard coded in the firmware.
To get your Crazyflie to fly with TDoA position estimation you need to:
The anchor placement is even more important with TDoA than with TWR. The Crazyflie must fly within the 3D convex hull formed by the anchors. For that reason it is easier to use 8 anchors. With 6 anchors you can place them forming 2 aligned triangles (one on the floor, one in the ceiling). Also since the anchor times are synchronized together it is very important that the anchors have direct line of sight between them.
If using ROS you can fly with the same launchfile as before. You can also try the new “dwm_loc_ekf_swarm_hover.launch” which is already setup for 5 Crazyflies. Just edit the top of the file to set the address and channel of your Crazyflies.