Public Member Functions | Public Attributes | Private Attributes | List of all members
pymavlink.fgFDM.fgFDM Class Reference
Inheritance diagram for pymavlink.fgFDM.fgFDM:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def convert (self, value, fromunits, tounits)
 
def get (self, varname, idx=0, units=None)
 
def pack (self)
 
def packet_size (self)
 
def parse (self, buf)
 
def set (self, varname, value, idx=0, units=None)
 
def units (self, varname)
 
def variables (self)
 

Public Attributes

 FG_MAX_ENGINES
 
 FG_MAX_TANKS
 
 FG_MAX_WHEELS
 
 FG_NET_FDM_VERSION
 
 mapping
 
 pack_string
 
 unitmap
 
 values
 

Private Attributes

 _packet_size
 

Detailed Description

a flightgear native FDM parser/generator

Definition at line 34 of file fgFDM.py.

Constructor & Destructor Documentation

def pymavlink.fgFDM.fgFDM.__init__ (   self)
init a fgFDM object

Definition at line 36 of file fgFDM.py.

Member Function Documentation

def pymavlink.fgFDM.fgFDM.convert (   self,
  value,
  fromunits,
  tounits 
)
convert a value from one set of units to another

Definition at line 152 of file fgFDM.py.

def pymavlink.fgFDM.fgFDM.get (   self,
  varname,
  idx = 0,
  units = None 
)
get a variable value

Definition at line 176 of file fgFDM.py.

def pymavlink.fgFDM.fgFDM.pack (   self)
pack a FD FDM buffer from current values

Definition at line 210 of file fgFDM.py.

def pymavlink.fgFDM.fgFDM.packet_size (   self)
return expected size of FG FDM packets

Definition at line 148 of file fgFDM.py.

def pymavlink.fgFDM.fgFDM.parse (   self,
  buf 
)
parse a FD FDM buffer

Definition at line 202 of file fgFDM.py.

def pymavlink.fgFDM.fgFDM.set (   self,
  varname,
  value,
  idx = 0,
  units = None 
)
set a variable value

Definition at line 188 of file fgFDM.py.

def pymavlink.fgFDM.fgFDM.units (   self,
  varname 
)
return the default units of a variable

Definition at line 163 of file fgFDM.py.

def pymavlink.fgFDM.fgFDM.variables (   self)
return a list of available variables

Definition at line 170 of file fgFDM.py.

Member Data Documentation

pymavlink.fgFDM.fgFDM._packet_size
private

Definition at line 141 of file fgFDM.py.

pymavlink.fgFDM.fgFDM.FG_MAX_ENGINES

Definition at line 42 of file fgFDM.py.

pymavlink.fgFDM.fgFDM.FG_MAX_TANKS

Definition at line 44 of file fgFDM.py.

pymavlink.fgFDM.fgFDM.FG_MAX_WHEELS

Definition at line 43 of file fgFDM.py.

pymavlink.fgFDM.fgFDM.FG_NET_FDM_VERSION

Definition at line 38 of file fgFDM.py.

pymavlink.fgFDM.fgFDM.mapping

Definition at line 62 of file fgFDM.py.

pymavlink.fgFDM.fgFDM.pack_string

Definition at line 39 of file fgFDM.py.

pymavlink.fgFDM.fgFDM.unitmap

Definition at line 47 of file fgFDM.py.

pymavlink.fgFDM.fgFDM.values

Definition at line 40 of file fgFDM.py.


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


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