Skip to content

Commit ab8c4f0

Browse files
committed
real can table column header
1 parent 9facd36 commit ab8c4f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

selfdrive/debug/can_table.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@
3535
rows.append(r)
3636

3737
df = pd.DataFrame(data=rows)
38+
df.columns = [str(n) for n in range(7, -1, -1)] + [' ']
3839
table = df.to_markdown(tablefmt='grid')
3940
print(f"\n\n{hex(addr)} ({addr}) on bus {args.bus}\n{table}")

0 commit comments

Comments
 (0)