From d47b6f4d1e22b0bb6863ca1acda515bf0a8845d0 Mon Sep 17 00:00:00 2001 From: Mohamed Fazil Date: Mon, 20 May 2024 17:29:30 -0700 Subject: [PATCH] typo fix --- stretch_core/nodes/command_groups.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stretch_core/nodes/command_groups.py b/stretch_core/nodes/command_groups.py index 1ce3977..e59513a 100644 --- a/stretch_core/nodes/command_groups.py +++ b/stretch_core/nodes/command_groups.py @@ -168,8 +168,8 @@ class WristPitchCommandGroup(SimpleCommandGroup): return None def joint_state(self, robot_status, **kwargs): - yaw_status = robot_status['end_of_arm']['wrist_pitch'] - return (yaw_status['pos'], yaw_status['vel'], yaw_status['effort']) + pitch_status = robot_status['end_of_arm']['wrist_pitch'] + return (pitch_status['pos'], pitch_status['vel'], pitch_status['effort']) class WristRollCommandGroup(SimpleCommandGroup): @@ -204,8 +204,8 @@ class WristRollCommandGroup(SimpleCommandGroup): return None def joint_state(self, robot_status, **kwargs): - yaw_status = robot_status['end_of_arm']['wrist_roll'] - return (yaw_status['pos'], yaw_status['vel'], yaw_status['effort']) + roll_status = robot_status['end_of_arm']['wrist_roll'] + return (roll_status['pos'], roll_status['vel'], roll_status['effort']) class GripperCommandGroup(SimpleCommandGroup):