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

Member Function Documentation

def pymavlink.mavutil.mavlogfile.close (   self)

Definition at line 1318 of file mavutil.py.

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

Definition at line 1371 of file mavutil.py.

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

Definition at line 1343 of file mavutil.py.

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

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

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

Definition at line 1326 of file mavutil.py.

Member Data Documentation

pymavlink.mavutil.mavlogfile._last_message
private

Definition at line 1314 of file mavutil.py.

pymavlink.mavutil.mavlogfile._last_timestamp
private

Definition at line 1315 of file mavutil.py.

pymavlink.mavutil.mavlogfile._link
private

Definition at line 1316 of file mavutil.py.

pymavlink.mavutil.mavlogfile._timestamp
private

Definition at line 1310 of file mavutil.py.

pymavlink.mavutil.mavlogfile._two64
private

Definition at line 1298 of file mavutil.py.

pymavlink.mavutil.mavlogfile.f

Definition at line 1305 of file mavutil.py.

pymavlink.mavutil.mavlogfile.filename

Definition at line 1294 of file mavutil.py.

pymavlink.mavutil.mavlogfile.filesize

Definition at line 1306 of file mavutil.py.

pymavlink.mavutil.mavlogfile.percent

Definition at line 1307 of file mavutil.py.

pymavlink.mavutil.mavlogfile.planner_format

Definition at line 1297 of file mavutil.py.

pymavlink.mavutil.mavlogfile.robust_parsing

Definition at line 1296 of file mavutil.py.

pymavlink.mavutil.mavlogfile.stop_on_EOF

Definition at line 1313 of file mavutil.py.

pymavlink.mavutil.mavlogfile.timestamp

Definition at line 1377 of file mavutil.py.

pymavlink.mavutil.mavlogfile.writeable

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