trilateration

package module
v0.0.0-...-22131e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2018 License: GPL-3.0 Imports: 2 Imported by: 0

README

Go Trilateration

Trilateration implementation that uses a non-linear least squares optimizer to get estimations of location given data with measurement error.

Documentation & Examples

godoc.org

Documentation

Overview

Package trilateration solves a formulation of 3 space trilateration using least-squares optimizer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parameters3

type Parameters3 struct {
	// Location of fixed points
	Loc []Point3
	// Distance to the target
	Dis []float64
}

func (*Parameters3) SolveTrilat3

func (p3 *Parameters3) SolveTrilat3() (loc []float64, err error)

SolveTrilat3 is the main interface to this library. Provide a set of parameters, loc is the 3 space location of target, If the 3rd dimension of each location is equal it is removed from the equation Returns error if solving the matrix fails, such if a interm matrix is singular

type Point3

type Point3 [3]float64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL