Functions | |
def | match_type |
Variables | |
tuple | args = parser.parse_args() |
list | csv_out = ["" for x in fields] |
int | currentOffset = 1 |
tuple | data = m.to_dict() |
tuple | ext = os.path.splitext(filename) |
list | fields = ['timestamp'] |
filename = args.log | |
list | isbin = extin['.bin', '.BIN'] |
list | islog = extin['.log', '.LOG','.tlog','.TLOG'] |
last_timestamp = None | |
tuple | m = mlog.recv_match(blocking=args.follow) |
tuple | mlog |
list | newData = [str(data[y]) if y != "timestamp" else "" for y in fields] |
nottypes = args.nottypes | |
dictionary | offsets = {} |
dictionary | outMsg = {"meta": {"type": m.get_type(), "timestamp": timestamp}, "data": data} |
output = None | |
tuple | parser = ArgumentParser(description=__doc__) |
tuple | timestamp = getattr(m, '_timestamp', None) |
tuple | type = m.get_type() |
string | typeClass = "MAVLink_{0}_message" |
types = args.types |
def pymavlink.tools.mavlogdump.match_type | ( | mtype, | |
patterns | |||
) |
return True if mtype matches pattern
Definition at line 69 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::args = parser.parse_args() |
Definition at line 36 of file mavlogdump.py.
list pymavlink::tools::mavlogdump::csv_out = ["" for x in fields] |
Definition at line 95 of file mavlogdump.py.
Definition at line 81 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::data = m.to_dict() |
Definition at line 163 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::ext = os.path.splitext(filename) |
Definition at line 62 of file mavlogdump.py.
list pymavlink::tools::mavlogdump::fields = ['timestamp'] |
Definition at line 77 of file mavlogdump.py.
pymavlink::tools::mavlogdump::filename = args.log |
Definition at line 43 of file mavlogdump.py.
list pymavlink::tools::mavlogdump::isbin = extin['.bin', '.BIN'] |
Definition at line 63 of file mavlogdump.py.
list pymavlink::tools::mavlogdump::islog = extin['.log', '.LOG','.tlog','.TLOG'] |
Definition at line 64 of file mavlogdump.py.
Definition at line 104 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::m = mlog.recv_match(blocking=args.follow) |
Definition at line 108 of file mavlogdump.py.
00001 mavutil.mavlink_connection(filename, planner_format=args.planner, 00002 notimestamps=args.notimestamps, 00003 robust_parsing=args.robust, 00004 dialect=args.dialect, 00005 zero_time_base=args.zero_time_base)
Definition at line 44 of file mavlogdump.py.
list pymavlink::tools::mavlogdump::newData = [str(data[y]) if y != "timestamp" else "" for y in fields] |
Definition at line 187 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::nottypes = args.nottypes |
Definition at line 58 of file mavlogdump.py.
dictionary pymavlink::tools::mavlogdump::offsets = {} |
Definition at line 78 of file mavlogdump.py.
dictionary pymavlink::tools::mavlogdump::outMsg = {"meta": {"type": m.get_type(), "timestamp": timestamp}, "data": data} |
Definition at line 174 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::output = None |
Definition at line 50 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::parser = ArgumentParser(description=__doc__) |
Definition at line 18 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::timestamp = getattr(m, '_timestamp', None) |
Definition at line 126 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::type = m.get_type() |
Definition at line 181 of file mavlogdump.py.
string pymavlink::tools::mavlogdump::typeClass = "MAVLink_{0}_message" |
Definition at line 84 of file mavlogdump.py.
tuple pymavlink::tools::mavlogdump::types = args.types |
Definition at line 54 of file mavlogdump.py.