This repository contains the code to reproduce all results of the paper:
F. Dümbgen, C. Holmes and T. D. Barfoot, "Safe and Smooth: Certified Continuous-Time
Range-Only Localization," in IEEE Robotics and Automation Letters, vol. 8, no. 2,
pp. 1117-1124, Feb. 2023, doi: 10.1109/LRA.2022.3233232.
A pre-print is available at https://arxiv.org/abs/2209.04266.
This code was written for Ubuntu 20.04.5, using Python 3.8.10.
All requirements can be installed by running
pip install -r requirements.txt
To check that the installation is successful, run
pytest .
Alternatively, the provided Dockerfile can be used to avoid locally installing dependencies. To build the container, run
sudo docker build -t safe .
To check that the installation is successful, run
sudo docker run -it --volume $(pwd):/safe safe pytest .
Please report any installation issues.
There are three types of results reported in the paper:
- Noise study: Run
simulate_noise.py
to generate the simulation study (Figures 4 and 7 (appendix)). - Timing study: Run
simulate_time.py
to generate the runtime comparison (Figure 5) - Real data: Run
evaluate_data.py
to evaluate the real dataset (Figures 1, 5 and 6).
If you are using Docker, you can generate all results by running
_scripts/generate_all_results.sh
After generating, all data can be evaluated, and new figures created, using the jupyter notebook SafeAndSmooth.ipynb
. For more evaluations of the real dataset, refer to the notebook DatasetEvaluation.ipynb
.
The code refers to the following papers:
- [1] F. Dümbgen, C. Holmes and T. D. Barfoot, "Safe and Smooth: Certified Continuous-Time Range-Only Localization," in IEEE Robotics and Automation Letters, vol. 8, no. 2, pp. 1117-1124, Feb. 2023. https://doi.org/10.1109/LRA.2022.3233232.
- [2] Barfoot, Tim, Chi Hay Tong, and Simo Sarkka. “Batch Continuous-Time Trajectory Estimation as Exactly Sparse Gaussian Process Regression,” 2014. https://doi.org/10.15607/RSS.2014.X.001.
- [3] Barfoot, Timothy D. State Estimation for Robotics. Cambridge University Press, 2017. https://doi.org/10.1017/9781316671528.