Giter Site home page Giter Site logo

garbaz / distance_difference_triangulation Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 20 KB

Position triangulation from differences of distances

Home Page: https://docs.rs/distance_difference_triangulation/

Rust 48.93% Python 51.07%
positioning rust triangulation

distance_difference_triangulation's Introduction

Distance Difference Triangulation

Docs.rsLib.rsCrates.io

This crate consists of exactly one function: [distance_difference_triangulation].

The premise is as follows: You are at some unknown position in 2D space. There are three beacons. You do not know the distances to these three beacons, otherwise you could just do normal triangulation and be done with it. But you do know the differences between the distances to these beacons. You also know the distances between the beacons themselves. From this information, the function this crate provides computes your position, relative to the coordinate system defined by the beacons.

In mathematical terms:

Your unknown position is (x,y).

The unknown distances to the three beacons are d0, d1 and d2.

You do know dd01 = d0 - d1 and dd02 = d0 - d2 (and also dd12 = d1 - d2, but that's redundant).

You also know the distances between the beacons d01, d02 and d12.

The function of this crate computes for you your position in the coordinate system where beacon 0 is at (0,0) and beacon 1 is on the x axis.

See also triangulation_from_dist_diff.

distance_difference_triangulation's People

Contributors

garbaz avatar

Stargazers

 avatar Florian Corvin Hoffmann avatar

Watchers

 avatar  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.