Robot Localization
marker_calibration.MarkerSet Class Reference

Public Member Functions

def fromEDM (self, D, dim=2, method='mds')
 Compute the position of markers from their Euclidean Distance Matrix. More...
 
def trilateration_single_point (self, c, Dx, Dy)
 Given x at origin (0,0) and y at (0,c) the distances from a point at unknown location Dx, Dy to x, y, respectively, finds the position of the point.
 
def trilateration (self, D, dim=2)
 Find the location of points based on their distance matrix using trilateration. More...
 
def normalize (self)
 Reposition points such that x0 is at origin, x1 lies on c-axis and x2 lies above x-axis, keeping the relative position to each other.
 

Member Function Documentation

def marker_calibration.MarkerSet.fromEDM (   self,
  D,
  dim = 2,
  method = 'mds' 
)

Compute the position of markers from their Euclidean Distance Matrix.

D: Euclidean Distance Matrix (matrix containing squared distances between points

dim: dimension of underlying space (default: 2)

method: 'mds' for multidimensional scaling (default) 'tri' for trilateration

def marker_calibration.MarkerSet.trilateration (   self,
  D,
  dim = 2 
)

Find the location of points based on their distance matrix using trilateration.

D: EDM corresponding to point set

dim: dimension of underlying space (default: 2)


The documentation for this class was generated from the following file: