Figures & data
Figure 1. Overview of FTM (also known as RTT) protocol. The dashed lines show the control messages before the measurement took place.
![Figure 1. Overview of FTM (also known as RTT) protocol. The dashed lines show the control messages before the measurement took place.](/cms/asset/4dd17458-401e-4de6-9b61-5173e99d9429/tlbs_a_2239748_f0001_b.gif)
Figure 2. Overview of WiFi-based fingerprinting for indoor positioning.
![Figure 2. Overview of WiFi-based fingerprinting for indoor positioning.](/cms/asset/d0a72e86-76e4-491e-89b9-788c9fdf1643/tlbs_a_2239748_f0002_b.gif)
Figure 3. Overview of RTT-based trilateration in a two-dimensional space.
![Figure 3. Overview of RTT-based trilateration in a two-dimensional space.](/cms/asset/ab9497e6-d0bc-4442-8fa5-0d44b6046e1c/tlbs_a_2239748_f0003_b.gif)
Table 1. The smartphones used in the experiments.
Figure 4. The settings of LoS, AP interference, body blockage scenarios.
![Figure 4. The settings of LoS, AP interference, body blockage scenarios.](/cms/asset/81ae7132-3de2-41ae-9d32-58a471b6f8f0/tlbs_a_2239748_f0004_b.gif)
Figure 5. The WiFi RSS data distribution under LoS, AP interference, body blockage and phone case blockage (only LG) scenarios. The smartphones were set 3 m away from the Google WiFi AP.
![Figure 5. The WiFi RSS data distribution under LoS, AP interference, body blockage and phone case blockage (only LG) scenarios. The smartphones were set 3 m away from the Google WiFi AP.](/cms/asset/5c3c85bf-b969-49d8-b5e4-c40dcda99f78/tlbs_a_2239748_f0005_oc.jpg)
Figure 6. The comparison of RSS distribution under LoS, AP interference, body blockage and phone case blockage on three smartphones. Longer bar indicates signal instability.
![Figure 6. The comparison of RSS distribution under LoS, AP interference, body blockage and phone case blockage on three smartphones. Longer bar indicates signal instability.](/cms/asset/0e89927c-182f-414e-b7ae-e6a438a0cacc/tlbs_a_2239748_f0006_oc.jpg)
Figure 7. The raw WiFi RTT data distribution and CDF plot under LoS, AP interference, body blockage and phone case blockage (only LG) scenarios. The smartphones were set 3 metres away from the Google WiFi AP.
![Figure 7. The raw WiFi RTT data distribution and CDF plot under LoS, AP interference, body blockage and phone case blockage (only LG) scenarios. The smartphones were set 3 metres away from the Google WiFi AP.](/cms/asset/11d8ae9a-bde4-485a-b0d8-bc5209c5d986/tlbs_a_2239748_f0007_oc.jpg)
Figure 8. The comparison of RTT distribution under LoS, AP interference, body blockage and phone case blockage on three smartphones. Longer bar indicates signal instability.
![Figure 8. The comparison of RTT distribution under LoS, AP interference, body blockage and phone case blockage on three smartphones. Longer bar indicates signal instability.](/cms/asset/7420f1f0-1cae-4ac6-9e46-f5eceef4b25b/tlbs_a_2239748_f0008_oc.jpg)
Figure 9. The WiFi RTT and RSS distributions with different gestures as described in . The smartphones were set 2 m away from the AP.
![Figure 9. The WiFi RTT and RSS distributions with different gestures as described in Table 2. The smartphones were set 2 m away from the AP.](/cms/asset/d72f4a54-20ab-49fe-acaf-fbc2a632a3f9/tlbs_a_2239748_f0009_oc.jpg)
Table 2. The different placements of the smartphone.
Figure 10. The WiFi RTT distribution of the smartphone with different heading directions. The smartphone was set 2 m away and at the same height as the AP with its screen pointing to the ceiling. The orange dots indicate the average LoS RTT measures while the phone is in the LoS scenario.
![Figure 10. The WiFi RTT distribution of the smartphone with different heading directions. The smartphone was set 2 m away and at the same height as the AP with its screen pointing to the ceiling. The orange dots indicate the average LoS RTT measures while the phone is in the LoS scenario.](/cms/asset/c24a308a-f6b2-4dd4-a707-724b19dd8a90/tlbs_a_2239748_f0010_oc.jpg)
Figure 11. Overview of the ranging testbeds. The orange dots indicate the location of the AP. The grey area shows the experimental area.
![Figure 11. Overview of the ranging testbeds. The orange dots indicate the location of the AP. The grey area shows the experimental area.](/cms/asset/3aa7d0b2-fd25-46ee-882f-c6844ad66ae4/tlbs_a_2239748_f0011_oc.jpg)
Figure 12. RTT measures as a function of the true distance and scaled RTT/RSS at different distances from the AP in office LoS scenario. The data was pre-processed, so all of its values are between 0 and 1. Boxplots of RSS measures are in red while those of RTT are in blue. The bigger the scaled RSS is, the weaker the signal is.
![Figure 12. RTT measures as a function of the true distance and scaled RTT/RSS at different distances from the AP in office LoS scenario. The data was pre-processed, so all of its values are between 0 and 1. Boxplots of RSS measures are in red while those of RTT are in blue. The bigger the scaled RSS is, the weaker the signal is.](/cms/asset/619d6c4d-3f31-4f04-9f49-f18ddd3c2655/tlbs_a_2239748_f0012_oc.jpg)
Figure 13. RTT measures as a function of the true distance and scaled RTT/RSS at different distances from the AP in office NLoS scenario. Boxplots of RSS measures are in red while those of RTT are in blue. The bigger the scaled RSS is, the weaker the signal is.
![Figure 13. RTT measures as a function of the true distance and scaled RTT/RSS at different distances from the AP in office NLoS scenario. Boxplots of RSS measures are in red while those of RTT are in blue. The bigger the scaled RSS is, the weaker the signal is.](/cms/asset/562462ee-4cc2-4707-810b-4b1a5af62e88/tlbs_a_2239748_f0013_oc.jpg)
Figure 14. RTT measures as a function of the true distance and scaled RTT/RSS at different distances from the AP in corridor LoS scenario. Boxplots of RSS measures are in red while those of RTT are in blue. Note that the bigger the scaled RSS is, the weaker the signal is.
![Figure 14. RTT measures as a function of the true distance and scaled RTT/RSS at different distances from the AP in corridor LoS scenario. Boxplots of RSS measures are in red while those of RTT are in blue. Note that the bigger the scaled RSS is, the weaker the signal is.](/cms/asset/48a52ddf-2deb-48f7-8366-a4e22ff9894b/tlbs_a_2239748_f0014_oc.jpg)
Figure 15. RTT measures as a function of the true distance and scaled RTT/RSS at different distances from the AP in vertical ranging experiment. Boxplots of RSS measures are in red while those of RTT are in blue. Note that the bigger the scaled RSS is, the weaker the signal is. For Nokia phone, the RTT measures barely changed when the phone was moved, leading to a barely visible boxplot.
![Figure 15. RTT measures as a function of the true distance and scaled RTT/RSS at different distances from the AP in vertical ranging experiment. Boxplots of RSS measures are in red while those of RTT are in blue. Note that the bigger the scaled RSS is, the weaker the signal is. For Nokia phone, the RTT measures barely changed when the phone was moved, leading to a barely visible boxplot.](/cms/asset/1798657b-1f50-4ac0-aec1-081142a5af8d/tlbs_a_2239748_f0015_oc.jpg)
Table 3. Comparisons of RTT and RSS properties.
Figure 16. Layout of the three testbeds. The orange dots show the locations of the RTT-enabled APs. All measurements are taken in the grey areas.
![Figure 16. Layout of the three testbeds. The orange dots show the locations of the RTT-enabled APs. All measurements are taken in the grey areas.](/cms/asset/75e1adb7-565c-46fa-a54c-7e9d1e0559e6/tlbs_a_2239748_f0016_oc.jpg)
Table 4. The details of the proposed datasets.
Table 5. A Snapshot of the proposed WiFi dataset. The value −200 dBm in (a) and 100,000 millimetres (mm) in (b) indicate that the AP is not visible from the current reference point.
Figure 17. CDF of WiFi-based indoor positioning utilising ML with the building floor dataset. Note that in (a) and (b), the RTT+RSS line overlaps with the RTT line.
![Figure 17. CDF of WiFi-based indoor positioning utilising ML with the building floor dataset. Note that in (a) and (b), the RTT+RSS line overlaps with the RTT line.](/cms/asset/5036a583-4377-4b1a-9c8f-92363a368771/tlbs_a_2239748_f0017_oc.jpg)
Figure 18. CDF of WiFi-based indoor positioning utilising ML with the office dataset. Note that in (a), (b), and (d), the RTT+RSS line overlaps the RTT line.
![Figure 18. CDF of WiFi-based indoor positioning utilising ML with the office dataset. Note that in (a), (b), and (d), the RTT+RSS line overlaps the RTT line.](/cms/asset/42d9fd54-96cb-4720-8e43-26b71e930d09/tlbs_a_2239748_f0018_oc.jpg)
Figure 19. CDF of WiFi-based indoor positioning for utilising ML with the apartment dataset. Note that in (a), (b) and (d), the RTT+RSS line overlaps the RTT line.
![Figure 19. CDF of WiFi-based indoor positioning for utilising ML with the apartment dataset. Note that in (a), (b) and (d), the RTT+RSS line overlaps the RTT line.](/cms/asset/99b2e33b-a284-4cb0-ad2a-859556447767/tlbs_a_2239748_f0019_oc.jpg)
Table 6. RMSE results of WiFi-based indoor positioning utilising machine learning and deep learning in the building floor dataset. The terms mm and std indicate that the features are pre-processed with standard scaler (std) and min max scaler (mm), respectively.
Table 7. RMSE results of WiFi-based indoor positioning utilising machine learning and deep learning for the office room dataset. The terms mm and std indicate that the features are pre-processed with standard scaler (std) and min max scaler (mm), respectively.
Table 8. RMSE results of WiFi-based indoor positioning utilising machine learning and deep learning for the apartment dataset. The terms mm and std indicate that the features are pre-processed with standard scaler (std) and min max scaler (mm), respectively.
Figure 20. CDF of WiFi-based indoor positioning utilising deep learning with the building floor dataset. Note that in (a) and (b), the RTT+RSS line overlaps with the RTT line. And in (d), all lines overlap with each other.
![Figure 20. CDF of WiFi-based indoor positioning utilising deep learning with the building floor dataset. Note that in (a) and (b), the RTT+RSS line overlaps with the RTT line. And in (d), all lines overlap with each other.](/cms/asset/72da08e9-0c16-4604-8c78-c596df1e83e7/tlbs_a_2239748_f0020_oc.jpg)
Figure 21. CDF of WiFi-based indoor positioning utilising deep learning for the office room dataset.
![Figure 21. CDF of WiFi-based indoor positioning utilising deep learning for the office room dataset.](/cms/asset/eddcc772-13a6-4046-9e90-e3b4ce457ddd/tlbs_a_2239748_f0021_oc.jpg)
Figure 22. CDF of WiFi-based indoor positioning for utilising deep learning on the apartment dataset.
![Figure 22. CDF of WiFi-based indoor positioning for utilising deep learning on the apartment dataset.](/cms/asset/3e86b90f-7be5-4cdd-8e37-e460b072aa0e/tlbs_a_2239748_f0022_oc.jpg)
Data availability statement
The three datasets used in this paper are made publicly available here: https://github.com/Fx386483710/WiFi-RTT-RSS-dataset.