From 8cc0232e73a11efeba25fdba59abccee8a4a17e5 Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Mon, 31 Mar 2025 18:14:57 +0200 Subject: [PATCH] Format baudrate tables --- lerobot/common/motors/dynamixel/tables.py | 34 +++++++++++------------ lerobot/common/motors/feetech/tables.py | 22 +++++++-------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/lerobot/common/motors/dynamixel/tables.py b/lerobot/common/motors/dynamixel/tables.py index 5589b2242..525404bfc 100644 --- a/lerobot/common/motors/dynamixel/tables.py +++ b/lerobot/common/motors/dynamixel/tables.py @@ -121,21 +121,21 @@ MODEL_BAUDRATE_TABLE = { } AVAILABLE_BAUDRATES = [ - 9600, - 19200, - 38400, - 57600, - 115200, - 230400, - 460800, - 500000, - 576000, - 921600, - 1000000, - 1152000, - 2000000, - 2500000, - 3000000, - 3500000, - 4000000, + 9_600, + 19_200, + 38_400, + 57_600, + 115_200, + 230_400, + 460_800, + 500_000, + 576_000, + 921_600, + 1_000_000, + 1_152_000, + 2_000_000, + 2_500_000, + 3_000_000, + 3_500_000, + 4_000_000, ] diff --git a/lerobot/common/motors/feetech/tables.py b/lerobot/common/motors/feetech/tables.py index 0ea0962b8..a1220ac8a 100644 --- a/lerobot/common/motors/feetech/tables.py +++ b/lerobot/common/motors/feetech/tables.py @@ -92,15 +92,15 @@ ENCODINGS = { } AVAILABLE_BAUDRATES = [ - 4800, - 9600, - 14400, - 19200, - 38400, - 57600, - 115200, - 128000, - 250000, - 500000, - 1000000, + 4_800, + 9_600, + 14_400, + 19_200, + 38_400, + 57_600, + 115_200, + 128_000, + 250_000, + 500_000, + 1_000_000, ]