Functions | Variables
pymavlink.tools.magfit_motors Namespace Reference

Functions

def fit_data (data)
 
def magfit (logfile)
 
def noise ()
 
def radius (d, offsets, motor_ofs)
 
def radius_cmp (a, b, offsets, motor_ofs)
 
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, trying to take into account motor interference

Function Documentation

def pymavlink.tools.magfit_motors.fit_data (   data)

Definition at line 69 of file magfit_motors.py.

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

Definition at line 78 of file magfit_motors.py.

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

Definition at line 22 of file magfit_motors.py.

def pymavlink.tools.magfit_motors.radius (   d,
  offsets,
  motor_ofs 
)
return radius give data point and offsets

Definition at line 44 of file magfit_motors.py.

def pymavlink.tools.magfit_motors.radius_cmp (   a,
  b,
  offsets,
  motor_ofs 
)
return radius give data point and offsets

Definition at line 49 of file magfit_motors.py.

def pymavlink.tools.magfit_motors.select_data (   data)

Definition at line 29 of file magfit_motors.py.

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

Definition at line 58 of file magfit_motors.py.

Variable Documentation

pymavlink.tools.magfit_motors.action

Definition at line 11 of file magfit_motors.py.

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

Definition at line 16 of file magfit_motors.py.

pymavlink.tools.magfit_motors.default

Definition at line 12 of file magfit_motors.py.

pymavlink.tools.magfit_motors.dest

Definition at line 11 of file magfit_motors.py.

pymavlink.tools.magfit_motors.float

Definition at line 13 of file magfit_motors.py.

pymavlink.tools.magfit_motors.help

Definition at line 11 of file magfit_motors.py.

pymavlink.tools.magfit_motors.metavar

Definition at line 14 of file magfit_motors.py.

pymavlink.tools.magfit_motors.nargs

Definition at line 14 of file magfit_motors.py.

pymavlink.tools.magfit_motors.None

Definition at line 12 of file magfit_motors.py.

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

Definition at line 10 of file magfit_motors.py.

float pymavlink.tools.magfit_motors.total = 0.0

Definition at line 146 of file magfit_motors.py.

pymavlink.tools.magfit_motors.type

Definition at line 13 of file magfit_motors.py.



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