Browse Source

typo fix

pull/124/head
Mohamed Fazil 6 months ago
parent
commit
d47b6f4d1e
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      stretch_core/nodes/command_groups.py

+ 4
- 4
stretch_core/nodes/command_groups.py View File

@ -168,8 +168,8 @@ class WristPitchCommandGroup(SimpleCommandGroup):
return None return None
def joint_state(self, robot_status, **kwargs): 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): class WristRollCommandGroup(SimpleCommandGroup):
@ -204,8 +204,8 @@ class WristRollCommandGroup(SimpleCommandGroup):
return None return None
def joint_state(self, robot_status, **kwargs): 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): class GripperCommandGroup(SimpleCommandGroup):

Loading…
Cancel
Save