Skip to content

Commit

Permalink
Remove tool contact from test.
Browse files Browse the repository at this point in the history
  • Loading branch information
URJala committed Jul 4, 2024
1 parent baf73e6 commit d2c14a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions ur_robot_driver/test/robot_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,20 +249,6 @@ def test_trajectory_scaled(self, tf_prefix):
)
self.assertEqual(result.error_code, FollowJointTrajectory.Result.SUCCESSFUL)

def test_tool_contact(self, tf_prefix):
if self._io_status_controller_interface.get_robot_software_version().major < 5:
start_result = self._io_status_controller_interface.start_tool_contact()
self.assertEqual(start_result.success, False)

end_result = self._io_status_controller_interface.end_tool_contact()
self.assertEqual(end_result.success, False)
else:
start_result = self._io_status_controller_interface.start_tool_contact()
self.assertEqual(start_result.success, True)

end_result = self._io_status_controller_interface.end_tool_contact()
self.assertEqual(end_result.success, True)

def test_trajectory_scaled_aborts_on_violation(self, tf_prefix):
"""Test that the robot correctly aborts the trajectory when the constraints are violated."""
# Construct test trajectory
Expand Down
2 changes: 0 additions & 2 deletions ur_robot_driver/test/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ class IoStatusInterface(
initial_services={"set_io": SetIO},
services={
"resend_robot_program": Trigger,
"start_tool_contact": Trigger,
"end_tool_contact": Trigger,
"get_robot_software_version": GetRobotSoftwareVersion,
},
):
Expand Down

0 comments on commit d2c14a4

Please sign in to comment.