Functions | Variables
pymavlink.tools.magfit Namespace Reference

Functions

def fit_data (data)
 
def magfit (logfile)
 
def noise ()
 
def plot_data (orig_data, data)
 
def radius (mag, offsets)
 
def radius_cmp (a, b, offsets)
 
def select_data (data)
 
def sphere_error (p, data)
 

Variables

 action
 
 args = parser.parse_args()
 
 default
 
 dest
 
 float
 
 help
 
 metavar
 
 nargs
 
 None
 
 parser = ArgumentParser(description=__doc__)
 
float total = 0.0
 
 type
 

Detailed Description

fit best estimate of magnetometer offsets

Function Documentation

def pymavlink.tools.magfit.fit_data (   data)

Definition at line 72 of file magfit.py.

def pymavlink.tools.magfit.magfit (   logfile)
find best magnetometer offset fit to a log file

Definition at line 85 of file magfit.py.

def pymavlink.tools.magfit.noise ( )
a noise vector

Definition at line 25 of file magfit.py.

def pymavlink.tools.magfit.plot_data (   orig_data,
  data 
)
plot data in 3D

Definition at line 152 of file magfit.py.

def pymavlink.tools.magfit.radius (   mag,
  offsets 
)
return radius give data point and offsets

Definition at line 47 of file magfit.py.

def pymavlink.tools.magfit.radius_cmp (   a,
  b,
  offsets 
)
return +1 or -1 for for sorting

Definition at line 51 of file magfit.py.

def pymavlink.tools.magfit.select_data (   data)

Definition at line 32 of file magfit.py.

def pymavlink.tools.magfit.sphere_error (   p,
  data 
)

Definition at line 60 of file magfit.py.

Variable Documentation

pymavlink.tools.magfit.action

Definition at line 11 of file magfit.py.

pymavlink.tools.magfit.args = parser.parse_args()

Definition at line 19 of file magfit.py.

pymavlink.tools.magfit.default

Definition at line 12 of file magfit.py.

pymavlink.tools.magfit.dest

Definition at line 11 of file magfit.py.

pymavlink.tools.magfit.float

Definition at line 13 of file magfit.py.

pymavlink.tools.magfit.help

Definition at line 11 of file magfit.py.

pymavlink.tools.magfit.metavar

Definition at line 17 of file magfit.py.

pymavlink.tools.magfit.nargs

Definition at line 17 of file magfit.py.

pymavlink.tools.magfit.None

Definition at line 12 of file magfit.py.

pymavlink.tools.magfit.parser = ArgumentParser(description=__doc__)

Definition at line 10 of file magfit.py.

float pymavlink.tools.magfit.total = 0.0

Definition at line 170 of file magfit.py.

pymavlink.tools.magfit.type

Definition at line 13 of file magfit.py.



mavlink
Author(s): Lorenz Meier
autogenerated on Sun Jul 7 2019 03:22:08