User Tools

Site Tools


doc:lps:twr-tdma

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:lps:twr-tdma [2017-07-18 15:41]
arnaud [System performance]
doc:lps:twr-tdma [2018-10-19 07:24] (current)
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.
 +</​WRAP>​
 +
  
 ===== Abstract ===== ===== Abstract =====
Line 16: Line 21:
  
 In order to activate TWR-TDMA, you need to recompile the Crazyflie firmware. Add the following to '​tools/​make/​config.mk':​ In order to activate TWR-TDMA, you need to recompile the Crazyflie firmware. Add the following to '​tools/​make/​config.mk':​
-<​code>​+<​code ​make>
 LPS_TDMA_ENABLE=1 LPS_TDMA_ENABLE=1
 CFLAGS += -DTDMA_NSLOTS_BITS=1 CFLAGS += -DTDMA_NSLOTS_BITS=1
Line 23: Line 28:
  
   * **LPS_TDMA_ENABLE=1** Enable the TDMA mode for TWR   * **LPS_TDMA_ENABLE=1** Enable the TDMA mode for TWR
-  * **TDMA_NSLOTS_BITS=1** Configures 2 time slot (good for 2 tags). The number of time slot is 2^TDMA_NSLOTS_BITS +  * **TDMA_NSLOTS_BITS=1** Configures 2 time slot (good for 2 tags) per frame. The number of time slot per frame is 2^TDMA_NSLOTS_BITS 
-  * **TDMA_SLOT** Optionally hardcode the time slot. See bellow for time slot auto-configuration.+  * **TDMA_SLOT** Optionally hardcode the time slot. See bellow for time slot auto-configuration
  
 ===== Configuring time slots ===== ===== Configuring time slots =====
doc/lps/twr-tdma.1500385300.txt.gz · Last modified: 2017-07-18 15:41 by arnaud