From ab8c4f03968671abcc77e1f8145643fb3a0a8cc7 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 7 Mar 2022 17:21:07 -0800 Subject: [PATCH] real can table column header --- selfdrive/debug/can_table.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/debug/can_table.py b/selfdrive/debug/can_table.py index 1569849053..b4d7cbbc1e 100755 --- a/selfdrive/debug/can_table.py +++ b/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}")