|
|
@ -28,7 +28,7 @@ def main(): |
|
|
|
msgs = [(address, msg_name, msg_size, sorted(msg_sigs, key=lambda s: s.name not in ("COUNTER", "CHECKSUM"))) # process counter and checksums first |
|
|
|
msgs = [(address, msg_name, msg_size, sorted(msg_sigs, key=lambda s: s.name not in ("COUNTER", "CHECKSUM"))) # process counter and checksums first |
|
|
|
for address, ((msg_name, msg_size), msg_sigs) in sorted(can_dbc.msgs.items()) if msg_sigs] |
|
|
|
for address, ((msg_name, msg_size), msg_sigs) in sorted(can_dbc.msgs.items()) if msg_sigs] |
|
|
|
|
|
|
|
|
|
|
|
def_vals = {a: set(b) for a,b in can_dbc.def_vals.items()} #remove duplicates |
|
|
|
def_vals = {a: sorted(set(b)) for a, b in can_dbc.def_vals.items()} # remove duplicates |
|
|
|
def_vals = sorted(def_vals.items()) |
|
|
|
def_vals = sorted(def_vals.items()) |
|
|
|
|
|
|
|
|
|
|
|
if can_dbc.name.startswith(("honda_", "acura_")): |
|
|
|
if can_dbc.name.startswith(("honda_", "acura_")): |
|
|
|