Fix _find_single_motor

This commit is contained in:
Simon Alibert
2025-04-18 09:18:56 +02:00
parent 702749b7d3
commit 29633865c7
2 changed files with 10 additions and 9 deletions

View File

@@ -155,7 +155,7 @@ class DynamixelMotorsBus(MotorsBus):
if found_model != expected_model_nb:
raise RuntimeError(
f"Found one motor on {baudrate=} with id={found_id} but it has a "
f"model number '{found_model}' different than the one expected: '{expected_model_nb}' "
f"model number '{found_model}' different than the one expected: '{expected_model_nb}'. "
f"Make sure you are connected only connected to the '{motor}' motor (model '{model}')."
)
return baudrate, found_id