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 1384 of file mavutil.py.

Constructor & Destructor Documentation

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

Definition at line 1387 of file mavutil.py.

Member Function Documentation

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

Definition at line 1401 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 1537 of file mavutil.py.

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

Definition at line 1412 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 1509 of file mavutil.py.

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

Definition at line 1408 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 1481 of file mavutil.py.

Member Data Documentation

pymavlink.mavutil.mavmmaplog._count
private

Definition at line 1421 of file mavutil.py.

pymavlink.mavutil.mavmmaplog._flightmodes
private

Definition at line 1399 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.counts

Definition at line 1420 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.data_len

Definition at line 1391 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.data_map

Definition at line 1394 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.flightmode

Definition at line 1403 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.id_to_name

Definition at line 1427 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.indexes

Definition at line 1487 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.name_to_id

Definition at line 1424 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.offset

Definition at line 1404 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.offsets

Definition at line 1417 of file mavutil.py.

pymavlink.mavutil.mavmmaplog.type_nums

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