Add more calibration utilities

This commit is contained in:
Simon Alibert
2025-03-31 18:14:11 +02:00
parent e096754d14
commit 6bfcc18e73
4 changed files with 72 additions and 42 deletions

View File

@@ -132,14 +132,6 @@ class DynamixelMotorsBus(MotorsBus):
return half_turn_homings
def _normalize(self, ids_values: dict[int, int]) -> dict[int, float]:
# TODO
return ids_values
def _unnormalize(self, ids_values: dict[int, float]) -> dict[int, int]:
# TODO
return ids_values
def _encode_value(self, value: int, data_name: str | None = None, n_bytes: int | None = None) -> int:
return encode_twos_complement(value, n_bytes)