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

Public Member Functions

def __init__ (self, filename, planner_format=None, write=False, append=False, robust_parsing=True, notimestamps=False, source_system=255, source_component=0, use_native=default_native)
 
def close (self)
 
def post_message (self, msg)
 
def pre_message (self)
 
def recv (self, n=None)
 
def scan_timestamp (self, tbuf)
 
def write (self, buf)
 

Public Attributes

 f
 
 filename
 
 filesize
 
 percent
 
 planner_format
 
 robust_parsing
 
 stop_on_EOF
 
 timestamp
 
 writeable
 

Private Attributes

 _last_message
 
 _last_timestamp
 
 _link
 
 _timestamp
 
 _two64
 

Detailed Description

a MAVLink logfile reader/writer

Definition at line 1273 of file mavutil.py.

Constructor & Destructor Documentation

def pymavlink.mavutil.mavlogfile.__init__ (   self,
  filename,
  planner_format = None,
  write = False,
  append = False,
  robust_parsing = True,
  notimestamps = False,
  source_system = 255,
  source_component = 0,
  use_native = default_native 
)

Definition at line 1277 of file mavutil.py.

Member Function Documentation

def pymavlink.mavutil.mavlogfile.close (   self)

Definition at line 1302 of file mavutil.py.

def pymavlink.mavutil.mavlogfile.post_message (   self,
  msg 
)
add timestamp to message

Definition at line 1355 of file mavutil.py.

def pymavlink.mavutil.mavlogfile.pre_message (   self)
read timestamp if needed

Definition at line 1327 of file mavutil.py.

def pymavlink.mavutil.mavlogfile.recv (   self,
  n = None 
)

Definition at line 1305 of file mavutil.py.

def pymavlink.mavutil.mavlogfile.scan_timestamp (   self,
  tbuf 
)
scan forward looking in a tlog for a timestamp in a reasonable range

Definition at line 1313 of file mavutil.py.

def pymavlink.mavutil.mavlogfile.write (   self,
  buf 
)

Definition at line 1310 of file mavutil.py.

Member Data Documentation

pymavlink.mavutil.mavlogfile._last_message
private

Definition at line 1298 of file mavutil.py.

pymavlink.mavutil.mavlogfile._last_timestamp
private

Definition at line 1299 of file mavutil.py.

pymavlink.mavutil.mavlogfile._link
private

Definition at line 1300 of file mavutil.py.

pymavlink.mavutil.mavlogfile._timestamp
private

Definition at line 1294 of file mavutil.py.

pymavlink.mavutil.mavlogfile._two64
private

Definition at line 1282 of file mavutil.py.

pymavlink.mavutil.mavlogfile.f

Definition at line 1289 of file mavutil.py.

pymavlink.mavutil.mavlogfile.filename

Definition at line 1278 of file mavutil.py.

pymavlink.mavutil.mavlogfile.filesize

Definition at line 1290 of file mavutil.py.

pymavlink.mavutil.mavlogfile.percent

Definition at line 1291 of file mavutil.py.

pymavlink.mavutil.mavlogfile.planner_format

Definition at line 1281 of file mavutil.py.

pymavlink.mavutil.mavlogfile.robust_parsing

Definition at line 1280 of file mavutil.py.

pymavlink.mavutil.mavlogfile.stop_on_EOF

Definition at line 1297 of file mavutil.py.

pymavlink.mavutil.mavlogfile.timestamp

Definition at line 1361 of file mavutil.py.

pymavlink.mavutil.mavlogfile.writeable

Definition at line 1279 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