From 6a2094e078a82560c630e3cca316e943ed12ad2f Mon Sep 17 00:00:00 2001 From: Mohamed Fazil Date: Tue, 20 Aug 2024 23:39:35 -0700 Subject: [PATCH] fix test --- body/test/robot_tests/test_robot_home_stow.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/body/test/robot_tests/test_robot_home_stow.py b/body/test/robot_tests/test_robot_home_stow.py index 07d8caa8..6ac39f4d 100644 --- a/body/test/robot_tests/test_robot_home_stow.py +++ b/body/test/robot_tests/test_robot_home_stow.py @@ -96,8 +96,8 @@ def test_robot_home(self): if self.robot.params['tool'] == 'eoa_wrist_dw3_tool_sg3': home_poses['wrist_yaw'] = 0 - home_poses['wrist_roll'] = self.robot.params['stow']['wrist_roll'] - home_poses['wrist_pitch'] = self.robot.params['stow']['wrist_pitch'] + home_poses['wrist_roll'] = self.robot.end_of_arm.params['stow']['wrist_roll'] + home_poses['wrist_pitch'] = self.robot.end_of_arm.params['stow']['wrist_pitch'] home_poses['stretch_gripper'] = 0 if self.robot.params['tool'] == 'tool_stretch_gripper': @@ -106,8 +106,8 @@ def test_robot_home(self): if self.robot.params['tool'] == 'eoa_wrist_dw3_tool_nil': home_poses['wrist_yaw'] = 0 - home_poses['wrist_roll'] = self.robot.params['stow']['wrist_roll'] - home_poses['wrist_pitch'] = self.robot.params['stow']['wrist_pitch'] + home_poses['wrist_roll'] = self.robot.end_of_arm.params['stow']['wrist_roll'] + home_poses['wrist_pitch'] = self.robot.end_of_arm.params['stow']['wrist_pitch'] self.check_joint_poses(home_poses, 'Homing')