This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
doc:lps:twr-tdma [2017-07-18 15:42] arnaud [Compiling Crazyflie for TWR-TDMA ranging] |
doc:lps:twr-tdma [2018-10-19 07:24] arnaud |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== TWR-TDMA ====== | ====== TWR-TDMA ====== | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **Note**: TWR-TDMA is now considered obsolete and replaced by the TDoA modes. TDoA will generally have better performance than TWR-TDMA, TWR might still be useful to you though but if you are setting up a single room system TDoA is most likely the way to go. | ||
+ | </ | ||
+ | |||
===== Abstract ===== | ===== Abstract ===== | ||
Line 16: | Line 21: | ||
In order to activate TWR-TDMA, you need to recompile the Crazyflie firmware. Add the following to ' | In order to activate TWR-TDMA, you need to recompile the Crazyflie firmware. Add the following to ' | ||
- | < | + | < |
LPS_TDMA_ENABLE=1 | LPS_TDMA_ENABLE=1 | ||
CFLAGS += -DTDMA_NSLOTS_BITS=1 | CFLAGS += -DTDMA_NSLOTS_BITS=1 |