Public Member Functions | Public Attributes | Private Attributes
pymavlink.fgFDM.fgFDM Class Reference

List of all members.

Public Member Functions

def __init__
def convert
def get
def pack
def packet_size
def parse
def set
def units
def variables

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 31 of file fgFDM.py.


Constructor & Destructor Documentation

init a fgFDM object

Definition at line 33 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 149 of file fgFDM.py.

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

Definition at line 173 of file fgFDM.py.

pack a FD FDM buffer from current values

Definition at line 207 of file fgFDM.py.

return expected size of FG FDM packets

Definition at line 145 of file fgFDM.py.

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

Definition at line 199 of file fgFDM.py.

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

Definition at line 185 of file fgFDM.py.

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

Definition at line 160 of file fgFDM.py.

return a list of available variables

Definition at line 167 of file fgFDM.py.


Member Data Documentation

Definition at line 33 of file fgFDM.py.

Definition at line 33 of file fgFDM.py.

Definition at line 33 of file fgFDM.py.

Definition at line 33 of file fgFDM.py.

Definition at line 33 of file fgFDM.py.

Definition at line 33 of file fgFDM.py.

Definition at line 33 of file fgFDM.py.

Definition at line 33 of file fgFDM.py.

Definition at line 33 of file fgFDM.py.


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


mavlink
Author(s): Lorenz Meier
autogenerated on Thu Jun 6 2019 19:01:57