Remove useless import and args

This commit is contained in:
glannuzel
2025-08-26 18:40:40 +02:00
parent 9281649228
commit 8b59d28610
2 changed files with 6 additions and 11 deletions
+2 -3
View File
@@ -75,9 +75,9 @@ def _make_reachy2_sdk_mock():
"_on_set",
)
def __init__(self, present_position=0.0, initial_goal=None, on_set=None):
def __init__(self, present_position=0.0, on_set=None):
self.present_position = present_position
self._goal_position = initial_goal
self._goal_position = present_position
self._on_set = on_set
@property
@@ -109,7 +109,6 @@ def _make_reachy2_sdk_mock():
joints = {
k: JointSpy(
present_position=float(i),
initial_goal=float(i) + 0.1,
on_set=_on_any_goal_set,
)
for i, k in enumerate(REACHY2_JOINTS.values())