Coder Social home page Coder Social logo

soul0knight / safe_and_smooth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from utiasasrl/safe_and_smooth

0.0 0.0 0.0 61 KB

Code associated to the paper "Safe and Smooth: Certified Continuous-Time Range-Only Localization"

License: BSD 2-Clause "Simplified" License

Shell 0.26% Python 60.62% Jupyter Notebook 38.96% Dockerfile 0.16%

safe_and_smooth's Introduction

Safe and Smooth: Certified Continuous-Time Range-Only Localization

This repository contains the code to reproduce all results of the paper:

Dümbgen, Frederike, Connor Holmes, and Timothy D. Barfoot. “Safe and Smooth: 
Certified Continuous-Time Range-Only Localization.”, arXiv:2209.04266 [cs.RO], Nov. 2022

A pre-print is available at https://arxiv.org/abs/2209.04266.

Installation

This code was written for Ubuntu 20.04.5, using Python 3.8.10.

Local install

All requirements can be installed by running

pip install -r requirements.txt

To check that the installation is successful, run

pytest .

Docker install

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.

Generate results

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.

Code references

The code refers to the following papers:

  • [1] Dümbgen, Frederike, Connor Holmes, and Timothy D. Barfoot. “Safe and Smooth: Certified Continuous-Time Range-Only Localization.”, arXiv:2209.04266 [cs.RO], Nov. 2022
  • [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.

safe_and_smooth's People

Contributors

duembgen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.