TWR-TDMA problem
Posted: Thu Oct 18, 2018 10:14 pm
Hi all,
I want to test the TWR-TDMA protocol to estimate 3D positions of 2 Crazyflies simultaneously.
I'm encountering the following problem: once I turn both Crazyflies on, I'll see the LPS deck LEDs flashing appropriately, but after a few seconds in one of the Crazyflies the LEDs will stop flashing, signaling that the module stopped working (is this correct?). The CF that stops working is not consistent among trials: sometimes it will be CF "A", sometimes it will be CF "B".
Has anyone seen similar behaviour? I should say that this issue is not reproducible in the latest git commit on the master branch. We're currently using a custom firmware (forking from a recent commit, around when TDoA3 was first introduced), but at least I'll like to get some pointers into what may be going wrong in my case.
I believe the issue is not related to the number of bits (CFLAGS += -DTDMA_NSLOTS_BITS) or the slot (CFLAGS += -DTDMA_SLOT), since I use the same flags with the master branch's firmware and it works fine.
Any input will be greatly appreciated!
I want to test the TWR-TDMA protocol to estimate 3D positions of 2 Crazyflies simultaneously.
I'm encountering the following problem: once I turn both Crazyflies on, I'll see the LPS deck LEDs flashing appropriately, but after a few seconds in one of the Crazyflies the LEDs will stop flashing, signaling that the module stopped working (is this correct?). The CF that stops working is not consistent among trials: sometimes it will be CF "A", sometimes it will be CF "B".
Has anyone seen similar behaviour? I should say that this issue is not reproducible in the latest git commit on the master branch. We're currently using a custom firmware (forking from a recent commit, around when TDoA3 was first introduced), but at least I'll like to get some pointers into what may be going wrong in my case.
I believe the issue is not related to the number of bits (CFLAGS += -DTDMA_NSLOTS_BITS) or the slot (CFLAGS += -DTDMA_SLOT), since I use the same flags with the master branch's firmware and it works fine.
Any input will be greatly appreciated!