Skip to content

Commit bac64ae

Browse files
committed
Remove tool contact from test.
1 parent 85f37a5 commit bac64ae

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

ur_robot_driver/test/robot_driver.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -249,20 +249,6 @@ def test_trajectory_scaled(self, tf_prefix):
249249
)
250250
self.assertEqual(result.error_code, FollowJointTrajectory.Result.SUCCESSFUL)
251251

252-
def test_tool_contact(self, tf_prefix):
253-
if self._io_status_controller_interface.get_robot_software_version().major < 5:
254-
start_result = self._io_status_controller_interface.start_tool_contact()
255-
self.assertEqual(start_result.success, False)
256-
257-
end_result = self._io_status_controller_interface.end_tool_contact()
258-
self.assertEqual(end_result.success, False)
259-
else:
260-
start_result = self._io_status_controller_interface.start_tool_contact()
261-
self.assertEqual(start_result.success, True)
262-
263-
end_result = self._io_status_controller_interface.end_tool_contact()
264-
self.assertEqual(end_result.success, True)
265-
266252
def test_trajectory_scaled_aborts_on_violation(self, tf_prefix):
267253
"""Test that the robot correctly aborts the trajectory when the constraints are violated."""
268254
# Construct test trajectory

0 commit comments

Comments
 (0)