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 11, 2024
1 parent 85f37a5 commit bac64ae
Showing 1 changed file with 0 additions and 14 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

0 comments on commit bac64ae

Please sign in to comment.