real can table column header

old-commit-hash: ab8c4f0396
taco
Adeeb Shihadeh 3 years ago
parent 6ad1d31896
commit 505e2e370c
  1. 1
      selfdrive/debug/can_table.py

@ -35,5 +35,6 @@ if __name__ == "__main__":
rows.append(r)
df = pd.DataFrame(data=rows)
df.columns = [str(n) for n in range(7, -1, -1)] + [' ']
table = df.to_markdown(tablefmt='grid')
print(f"\n\n{hex(addr)} ({addr}) on bus {args.bus}\n{table}")

Loading…
Cancel
Save