User Tools

Site Tools


doc:lps:configure-mode

Differences

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

Link to this comparison view

Next revision
Previous revision
doc:lps:configure-mode [2017-12-19 16:21]
arnaud created
doc:lps:configure-mode [2020-05-12 14:00] (current)
kimberly
Line 1: Line 1:
 +<WRAP center round important 60%>
 +This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https://www.bitcraze.io/documentation/system/]]
 +</WRAP>
 +
 +
 ====== Configure LPS positioning mode wirelessly ====== ====== Configure LPS positioning mode wirelessly ======
  
-You can switch the system working mode between TWR and TDoA using a Crazyflie with the loco positioning deck and the Crazyflie client. This page explains the procedure to do so.+You can switch the system working mode between TWR, TDoA2 and TDoA3 using a Crazyflie with the loco positioning deck and the Crazyflie client. This page explains the procedure to do so.
  
 ===== Switching mode ===== ===== Switching mode =====
Line 7: Line 12:
 Using the client, connect a Crazyflie with a LocoDeck installed. When connected open the Loco Positioning System tab: Using the client, connect a Crazyflie with a LocoDeck installed. When connected open the Loco Positioning System tab:
  
-[Image ...] +{{:doc:lps:cfclient_switch_anchor_mode.png?600|}}
  
   - Make sure your Crazyflie has good connection and clear line of sight with all the anchors. Ideally place it in the center of the flying space. Make sure that the status of all the anchor is a solid green in the tab.   - Make sure your Crazyflie has good connection and clear line of sight with all the anchors. Ideally place it in the center of the flying space. Make sure that the status of all the anchor is a solid green in the tab.
-  - Using the radio button, select the mode on which the system is currently running. TWR or TDoA. +  - Using the radio button (2), select the mode on which the system is currently running. TWR or TDoA. 
-  - Click the switch buttons. The status of all the anchors should switch red. +  - Click the switch buttons (3). The status (1) of all the anchors should switch red. 
-  - Using the radio button, select the new mode, the anchor status should switch back to green. Your Crazyflie is now getting its position using the new mode!+  - Using the radio button (2), select the new mode, the anchor status (1) should switch back to green. Your Crazyflie is now getting its position using the new mode! 
 + 
 +==== How it works ==== 
 + 
 +  - The client sends messages to the Crazyflie via the Crazyradio with information of the mode switch for each anchor 
 +  - The Crazyflie passes the messages on to the anchors via the LPS (UWB) radio 
 +  - The Anchors receive the messages, update their configuration and re-boots for the new configuration to be active 
 + 
 +The communication from Crazyflie to anchor is somewhat unreliable and there is no back channel that verifies that the mode switch has been executed. Please make sure all anchors actually changed mode by checking that all the anchor status boxes are green. 
 +In a physically large system, the LPS radio may not reach all anchors and this method will not work at all.
  
 ==== Trouble shooting ==== ==== Trouble shooting ====
 +
 +If some of the status boxes do not go back to green after the switching procedure, it indicates that the anchors did not change mode and you have a system with mixed modes. A system with mixed modes will not work.
  
 === I want my system in TDoA mode but some anchors are left in TWR mode === === I want my system in TDoA mode but some anchors are left in TWR mode ===
  
-  - Select TWR mode using the radio button. +  - Select TWR mode using the radio button (2)
-  - Click on the switch button. The status of all the anchors still in TWR mode should turn red. You can click on the button multiple if required. +  - Click on the switch button (3). The status (1) of all the anchors still in TWR mode should turn red. You can click on the button (3) multiple if required. 
-  - Select TDoA mode using the radio button. All anchors should now be in TDoA modes.+  - Select TDoA mode using the radio button (2). All anchors should now be in TDoA modes.
  
 === I want my system in TWR mode but some anchors are left in TDoA mode === === I want my system in TWR mode but some anchors are left in TDoA mode ===
Line 27: Line 42:
 To change anchors from TDoA to TWR it is very important that the master anchor, anchor 0, is still in TDoA mode. If it is not the case you can switch the system back to TDoA before attempting to switch to TWR again. To change anchors from TDoA to TWR it is very important that the master anchor, anchor 0, is still in TDoA mode. If it is not the case you can switch the system back to TDoA before attempting to switch to TWR again.
  
 +=== I have a system in mixed modes and I can not get it right ===
  
 +There is always the option to connect each anchor via a USB cable to a computer and change the mode manually.
  
  
doc/lps/configure-mode.1513696917.txt.gz · Last modified: 2017-12-19 16:21 by arnaud