mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-15 03:53:58 +08:00
openpilot v0.8.13 release
This commit is contained in:
committed by
Adeeb Shihadeh
parent
9779e34f75
commit
14adf3afa2
@@ -54,13 +54,13 @@ if __name__ == "__main__":
|
||||
elif args.dump_json:
|
||||
print(json.dumps(evt.to_dict()))
|
||||
elif values:
|
||||
print("logMonotime = {}".format(evt.logMonoTime))
|
||||
print(f"logMonotime = {evt.logMonoTime}")
|
||||
for value in values:
|
||||
if hasattr(evt, value[0]):
|
||||
item = evt
|
||||
for key in value:
|
||||
item = getattr(item, key)
|
||||
print("{} = {}".format(".".join(value), item))
|
||||
print(f"{'.'.join(value)} = {item}")
|
||||
print("")
|
||||
else:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user