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

Public Member Functions

def __init__ (self, filename, progress_callback=None)
 
def flightmode_list (self)
 
def init_arrays (self, progress_callback=None)
 
def recv_match (self, condition=None, type=None, blocking=False, timeout=None)
 
def rewind (self)
 
def skip_to_type (self, type)
 

Public Attributes

 counts
 
 data_len
 
 data_map
 
 flightmode
 
 id_to_name
 
 indexes
 
 name_to_id
 
 offset
 
 offsets
 
 type_nums
 

Private Member Functions

def _rewind (self)
 

Private Attributes

 _count
 
 _flightmodes
 

Detailed Description

a MAVLink log file accessed via mmap. Used for fast read-only
access with low memory overhead where particular message types are wanted

Definition at line 1368 of file mavutil.py.

Constructor & Destructor Documentation

def pymavlink.mavutil.mavmmaplog.__init__ (   self,
  filename,
  progress_callback = None 
)

Definition at line 1371 of file mavutil.py.

Member Function Documentation

def pymavlink.mavutil.mavmmaplog._rewind (   self)
private
rewind to start of log

Definition at line 1385 of file mavutil.py.

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

Definition at line 1517 of file mavutil.py.

def pymavlink.mavutil.mavmmaplog.init_arrays (   self,
  progress_callback = None 
)
initialise arrays for fast recv_match()

Definition at line 1396 of file mavutil.py.

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

Definition at line 1489 of file mavutil.py.

def pymavlink.mavutil.mavmmaplog.rewind (   self)
rewind to start of log

Definition at line 1392 of file mavutil.py.

def pymavlink.mavutil.mavmmaplog.skip_to_type (   self,
  type 
)
skip fwd to next msg matching given type set

Definition at line 1461 of file mavutil.py.

Member Data Documentation

pymavlink.mavutil.mavmmaplog._count
private

Definition at line 1405 of file mavutil.py.

pymavlink.mavutil.mavmmaplog._flightmodes
private

Definition at line 1383 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.counts

Definition at line 1404 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.data_len

Definition at line 1375 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.data_map

Definition at line 1378 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.flightmode

Definition at line 1387 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.id_to_name

Definition at line 1411 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.indexes

Definition at line 1467 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.name_to_id

Definition at line 1408 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.offset

Definition at line 1388 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.offsets

Definition at line 1401 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.type_nums

Definition at line 1389 of file mavutil.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