Skip to content

Commit 0d42bd3

Browse files
committed
Merge 'upstream/master'
2 parents 080c8a5 + 6614dec commit 0d42bd3

File tree

65 files changed

+209
-204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+209
-204
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Supported ROS Versions
1212
- Indigo
1313
- Kinetic
1414
- Melodic
15+
- Noetic
1516

1617
Installation
1718
------------

intera_examples/CMakeLists.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,37 @@ catkin_package(
3636
intera_interface
3737
)
3838

39+
catkin_install_python(PROGRAMS
40+
scripts/ik_service_client.py
41+
scripts/go_to_joint_angles.py
42+
scripts/joint_position_waypoints.py
43+
scripts/joint_torque_springs.py
44+
scripts/gripper_cuff_control.py
45+
scripts/head_wobbler.py
46+
scripts/joint_recorder.py
47+
scripts/fk_service_client.py
48+
scripts/joint_velocity_wobbler.py
49+
scripts/navigator_io.py
50+
scripts/joint_position_joystick.py
51+
scripts/joint_position_keyboard.py
52+
scripts/gripper_keyboard.py
53+
scripts/stop_motion_trajectory.py
54+
scripts/go_to_joint_angles_in_contact.py
55+
scripts/joint_position_file_playback.py
56+
scripts/go_to_cartesian_pose.py
57+
scripts/head_display_image.py
58+
scripts/joint_trajectory_client.py
59+
scripts/joint_trajectory_file_playback.py
60+
scripts/set_interaction_options.py
61+
scripts/constrained_zeroG.py
62+
scripts/gripper_joystick.py
63+
scripts/lights_blink.py
64+
scripts/camera_display.py
65+
scripts/send_random_trajectory.py
66+
scripts/send_traj_from_file.py
67+
68+
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
69+
3970
install(
4071
DIRECTORY scripts/
4172
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}

intera_examples/cfg/SawyerJointSpringsExample.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/usr/bin/env python
2-
1+
#! /usr/bin/env python
32
# Copyright (c) 2013-2018, Rethink Robotics Inc.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

intera_examples/package.xml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<package>
2+
<package format="3">
33
<name>intera_examples</name>
44
<version>5.3.0</version>
55
<description>
@@ -21,6 +21,8 @@
2121

2222
<buildtool_depend>catkin</buildtool_depend>
2323

24+
<buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
25+
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>
2426
<build_depend>rospy</build_depend>
2527
<build_depend>actionlib</build_depend>
2628
<build_depend>sensor_msgs</build_depend>
@@ -32,16 +34,16 @@
3234
<build_depend>intera_motion_msgs</build_depend>
3335
<build_depend>intera_interface</build_depend>
3436

35-
<run_depend>rospy</run_depend>
36-
<run_depend>actionlib</run_depend>
37-
<run_depend>sensor_msgs</run_depend>
38-
<run_depend>control_msgs</run_depend>
39-
<run_depend>trajectory_msgs</run_depend>
40-
<run_depend>cv_bridge</run_depend>
41-
<run_depend>dynamic_reconfigure</run_depend>
42-
<run_depend>intera_core_msgs</run_depend>
43-
<run_depend>intera_motion_msgs</run_depend>
44-
<run_depend>intera_interface</run_depend>
45-
<run_depend>joystick_drivers</run_depend>
37+
<exec_depend>rospy</exec_depend>
38+
<exec_depend>actionlib</exec_depend>
39+
<exec_depend>sensor_msgs</exec_depend>
40+
<exec_depend>control_msgs</exec_depend>
41+
<exec_depend>trajectory_msgs</exec_depend>
42+
<exec_depend>cv_bridge</exec_depend>
43+
<exec_depend>dynamic_reconfigure</exec_depend>
44+
<exec_depend>intera_core_msgs</exec_depend>
45+
<exec_depend>intera_motion_msgs</exec_depend>
46+
<exec_depend>intera_interface</exec_depend>
47+
<exec_depend>joystick_drivers</exec_depend>
4648

4749
</package>

intera_examples/scripts/camera_display.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/usr/bin/env python
2-
1+
#! /usr/bin/env python
32
# Copyright (c) 2013-2018, Rethink Robotics Inc.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -23,13 +22,14 @@
2322
import rospy
2423
import intera_interface
2524

26-
def show_image_callback(img_data, (edge_detection, window_name)):
25+
def show_image_callback(img_data, xxx_todo_changeme):
2726
"""The callback function to show image by using CvBridge and cv
2827
"""
28+
(edge_detection, window_name) = xxx_todo_changeme
2929
bridge = CvBridge()
3030
try:
3131
cv_image = bridge.imgmsg_to_cv2(img_data, "bgr8")
32-
except CvBridgeError, err:
32+
except CvBridgeError as err:
3333
rospy.logerr(err)
3434
return
3535
if edge_detection == True:

intera_examples/scripts/constrained_zeroG.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#! /usr/bin/env python
2-
32
# Copyright (c) 2018, Rethink Robotics Inc.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

intera_examples/scripts/fk_service_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/usr/bin/env python
2-
1+
#! /usr/bin/env python
32
# Copyright (c) 2013-2018, Rethink Robotics Inc.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -49,7 +48,7 @@ def fk_service_client(limb = "right"):
4948
try:
5049
rospy.wait_for_service(ns, 5.0)
5150
resp = fksvc(fkreq)
52-
except (rospy.ServiceException, rospy.ROSException), e:
51+
except (rospy.ServiceException, rospy.ROSException) as e:
5352
rospy.logerr("Service call failed: %s" % (e,))
5453
return False
5554

intera_examples/scripts/go_to_cartesian_pose.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#! /usr/bin/env python
2-
32
# Copyright (c) 2016-2018, Rethink Robotics Inc.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

intera_examples/scripts/go_to_joint_angles.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#! /usr/bin/env python
2-
32
# Copyright (c) 2016-2018, Rethink Robotics Inc.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

intera_examples/scripts/go_to_joint_angles_in_contact.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#! /usr/bin/env python
2-
32
# Copyright (c) 2016-2018, Rethink Robotics Inc.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)