Ass model_baudrate_table

This commit is contained in:
Simon Alibert 2025-03-15 13:11:56 +01:00
parent e33ca2c980
commit ad0bacbfe4
3 changed files with 5 additions and 2 deletions

View File

@ -244,7 +244,8 @@ class DynamixelMotorsBus(MotorsBus):
""" """
model_ctrl_table = deepcopy(MODEL_CONTROL_TABLE) model_ctrl_table = deepcopy(MODEL_CONTROL_TABLE)
model_resolution = deepcopy(MODEL_RESOLUTION) model_resolution_table = deepcopy(MODEL_RESOLUTION)
model_baudrate_table = deepcopy(MODEL_BAUDRATE_TABLE)
def __init__( def __init__(
self, self,

View File

@ -257,7 +257,8 @@ class FeetechMotorsBus(MotorsBus):
""" """
model_ctrl_table = deepcopy(MODEL_CONTROL_TABLE) model_ctrl_table = deepcopy(MODEL_CONTROL_TABLE)
model_resolution = deepcopy(MODEL_RESOLUTION) model_resolution_table = deepcopy(MODEL_RESOLUTION)
model_baudrate_table = deepcopy(MODEL_BAUDRATE_TABLE)
def __init__( def __init__(
self, self,

View File

@ -168,6 +168,7 @@ class MotorsBus(abc.ABC):
model_ctrl_table: dict[str, dict] model_ctrl_table: dict[str, dict]
model_resolution_table: dict[str, int] model_resolution_table: dict[str, int]
model_baudrate_table: dict[str, dict]
def __init__( def __init__(
self, self,