Skip to content

Commit 840f6d4

Browse files
committed
FIX: Typo
1 parent 2609103 commit 840f6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coffee_ws/src/coffee_expressions/coffee_expressions/plaipin_expressive_eyes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ def affective_state_callback(self, msg: AffectiveState):
9090
if not msg.is_idle:
9191
# Convert ROS Point to normalized coordinates for plaipin
9292
# Assuming gaze_target is in the range [-1, 1] for x and y
93-
self.eye_controller.set_target_position(
93+
self.eye_controller.set_eye_positions(
9494
(msg.gaze_target.x, msg.gaze_target.y)
9595
)
9696
else:
9797
# Return to center when idle
98-
self.eye_controller.set_target_position((0.0, 0.0))
98+
self.eye_controller.set_eye_positions((0.0, 0.0))
9999

100100
def update_animation(self):
101101
"""Update the animation state"""

0 commit comments

Comments
 (0)