This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:lps:index [2017-05-05 15:32] bjorn |
doc:lps:index [2018-10-31 18:01] kristoffer |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | <WRAP center round info> | + | ====== Loco positioning system ====== |
- | **IMPORTANT** | + | |
- | We're currently working on updating the documentation for the Loco positioning system. | + | The Loco Positioning system (LPS) project is a set of hardware and software designed to implement a local positioning system. |
- | </WRAP> | + | * [[projects:lps:index|Hardware documentation]] |
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
- | ====== | + | ====== |
- | The Loco Positioning system (LPS) project is a set of hardware | + | To make the documentation easier to grasp there' |
+ | * **Deck | ||
+ | * **Tag and anchor:** These refer to roles when ranging (i.g depending | ||
+ | * **Ranging mode:** The protocol used for communicating between tags/ | ||
- | ===== System overview ===== | + | ====== System overview |
The local positioning system is based on the [[http:// | The local positioning system is based on the [[http:// | ||
- | The system supports a number of different modes: | + | ====== Documentation subjects ====== |
- | * ToA ([[doc: | + | |
- | * TDMA (experimental) | + | |
- | * [[doc: | + | |
- | ===== Getting started | + | ===== System set-up |
+ | * [[doc: | ||
+ | * [[doc: | ||
+ | * [[doc: | ||
+ | * [[doc: | ||
+ | * [[doc: | ||
+ | ===== Protocols ===== | ||
+ | * [[doc: | ||
+ | * [[doc: | ||
+ | * [[doc: | ||
- | This getting started documentation is intended to guide you from receiving your Loco Positioning Indoor Explorer Bundle to having an autonomous Crazyflie 2.0. | ||
- | ==== Tools ==== | + | ===== Tools ===== |
For working with the Loco positioning system there' | For working with the Loco positioning system there' | ||
- | * [[doc: | + | * [[doc: |
* [[doc: | * [[doc: | ||
* [[doc: | * [[doc: | ||
+ | * [[https:// | ||
- | It is also possible to script movements using the [[https:// | + | ====== |
- | + | | |
- | ==== Prerequisites | + | |
- | + | ||
- | In order to illustrate how to set up a system we document a reference system and how we've set it up. The referance system is base on the [[https:// | + | |
- | * 6 x Loco positioning node | + | |
- | * 1 x Crazyflie 2.0 | + | |
- | * 1 x Loco positioning deck | + | |
- | * 1 x Crazyradio PA | + | |
- | + | ||
- | + | ||
- | ==== Preparing the Crazyflie 2.0 ==== | + | |
- | + | ||
- | The Kalman filter used position Crazyflie in the LPS is not yet part of the default firmware so you need to compile the Crazyflie firmware with Kalman support activated. Clone or pull the latest version from Github and put the following lines in your tools/ | + | |
- | <file make config.mk> | + | |
- | ESTIMATOR = kalman | + | |
- | </ | + | |
- | + | ||
- | Compile and flash the Crazyflie: | + | |
- | < | + | |
- | make clean | + | |
- | make | + | |
- | make cload | + | |
- | </ | + | |
- | + | ||
- | <WRAP center round info> | + | |
- | For "make cload" to work, you need to have the [[https:// | + | |
- | </ | + | |
- | + | ||
- | ==== Preparing the LPS nodes ==== | + | |
- | + | ||
- | Use the [[doc:lps:tools# | + | |
- | + | ||
- | The nodes should be placed at least 15 cm away from walls or ceiling. In our reference set-up we accomplish this by using [[https:// | + | |
- | + | ||
- | {{:doc: | + | |
- | + | ||
- | Power the anchors with 5V using either the micro-USB connector, the terminal or the DJ-jack. | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | Note; If you're not following our reference set-up | + | |
- | + | ||
- | The position in X/Y/Z of the anchor UWB antenna needs to be measured. To do so chose an origin (in a square/ | + | |
- | + | ||
- | Use the LPS tab of the Crazyflie | + | |
- | + | ||
- | ==== Reference set-up ==== | + | |
- | In our reference setup we have placed 3 anchors above and 3 anchors bellow the flight area, shaped in inverse triangles. This allows to get good accuracy in X, Y and Z. | + | |
- | + | ||
- | This is the reference system from which measurement where taken: | + | |
- | {{: | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | + | ||
- | ==== Verifying system setup using the PC-client ==== | + | |
- | + | ||
- | The [[doc: | + | |
- | + | ||
- | ==== Measurements taken from our reference set-up ==== | + | |
- | + | ||
- | To validate the system we took a series of measurement from the reference system. You can see the results in the page [[misc: | + | |