Skip to content

Commit f7f130d

Browse files
committed
Remove tool contact from test.
1 parent 745a176 commit f7f130d

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
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

ur_robot_driver/test/test_common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ class IoStatusInterface(
242242
initial_services={"set_io": SetIO},
243243
services={
244244
"resend_robot_program": Trigger,
245-
"start_tool_contact": Trigger,
246-
"end_tool_contact": Trigger,
247245
"get_robot_software_version": GetRobotSoftwareVersion,
248246
},
249247
):

0 commit comments

Comments
 (0)