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

Public Member Functions

def __init__ (self)
 
def check_condition (self, condition)
 
def flightmode_list (self)
 
def init_clock (self)
 
def init_clock_gps_interpolated (self, clock)
 
def init_clock_msec (self)
 
def init_clock_px4 (self, px4_msg_time, px4_msg_gps)
 
def init_clock_usec (self)
 
def param (self, name, default=None)
 
def recv_match (self, condition=None, type=None, blocking=False)
 
def recv_msg (self)
 

Public Attributes

 clock
 
 flightmode
 
 mav_type
 
 messages
 
 params
 
 percent
 
 timestamp
 
 verbose
 

Private Member Functions

def _add_msg (self, m)
 
def _rewind (self)
 
def _set_time (self, m)
 

Private Attributes

 _flightmodes
 

Detailed Description

parse a generic dataflash file

Definition at line 413 of file DFReader.py.

Constructor & Destructor Documentation

def pymavlink.DFReader.DFReader.__init__ (   self)

Definition at line 415 of file DFReader.py.

Member Function Documentation

def pymavlink.DFReader.DFReader._add_msg (   self,
  m 
)
private
add a new message

Definition at line 551 of file DFReader.py.

def pymavlink.DFReader.DFReader._rewind (   self)
private
reset state on rewind

Definition at line 424 of file DFReader.py.

def pymavlink.DFReader.DFReader._set_time (   self,
  m 
)
private
set time for a message

Definition at line 541 of file DFReader.py.

def pymavlink.DFReader.DFReader.check_condition (   self,
  condition 
)
check if a condition is true

Definition at line 607 of file DFReader.py.

def pymavlink.DFReader.DFReader.flightmode_list (   self)
return an array of tuples for all flightmodes in log. Tuple is (modestring, t0, t1)

Definition at line 618 of file DFReader.py.

def pymavlink.DFReader.DFReader.init_clock (   self)
work out time basis for the log

Definition at line 452 of file DFReader.py.

def pymavlink.DFReader.DFReader.init_clock_gps_interpolated (   self,
  clock 
)

Definition at line 449 of file DFReader.py.

def pymavlink.DFReader.DFReader.init_clock_msec (   self)

Definition at line 442 of file DFReader.py.

def pymavlink.DFReader.DFReader.init_clock_px4 (   self,
  px4_msg_time,
  px4_msg_gps 
)

Definition at line 435 of file DFReader.py.

def pymavlink.DFReader.DFReader.init_clock_usec (   self)

Definition at line 446 of file DFReader.py.

def pymavlink.DFReader.DFReader.param (   self,
  name,
  default = None 
)
convenient function for returning an arbitrary MAVLink
   parameter with a default

Definition at line 611 of file DFReader.py.

def pymavlink.DFReader.DFReader.recv_match (   self,
  condition = None,
  type = None,
  blocking = False 
)
recv the next message that matches the given condition
type can be a string or a list of strings

Definition at line 587 of file DFReader.py.

def pymavlink.DFReader.DFReader.recv_msg (   self)

Definition at line 548 of file DFReader.py.

Member Data Documentation

pymavlink.DFReader.DFReader._flightmodes
private

Definition at line 422 of file DFReader.py.

pymavlink.DFReader.DFReader.clock

Definition at line 417 of file DFReader.py.

pymavlink.DFReader.DFReader.flightmode

Definition at line 428 of file DFReader.py.

pymavlink.DFReader.DFReader.mav_type

Definition at line 419 of file DFReader.py.

pymavlink.DFReader.DFReader.messages

Definition at line 426 of file DFReader.py.

pymavlink.DFReader.DFReader.params

Definition at line 421 of file DFReader.py.

pymavlink.DFReader.DFReader.percent

Definition at line 431 of file DFReader.py.

pymavlink.DFReader.DFReader.timestamp

Definition at line 418 of file DFReader.py.

pymavlink.DFReader.DFReader.verbose

Definition at line 420 of file DFReader.py.


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


mavlink
Author(s): Lorenz Meier
autogenerated on Sun Apr 7 2019 02:06:02