Skip to content

Commit 990bb65

Browse files
Merge remote-tracking branch 'origin/release-1.1.0'
2 parents 69249c2 + e5fc06e commit 990bb65

37 files changed

+1010
-338
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ nosetests.xml
3636
cmake_install.cmake
3737
.pydevproject
3838
*.swp
39+
*.swo
3940
CATKIN_IGNORE
4041
catkin
4142
catkin_generated

CHANGELOG.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
1.1.0 (2015-1-2)
2+
---------------------------------
3+
- Updates baxter_interface to ROS Indigo
4+
- Upgrades to the Indigo robot required a reworking of how cameras power **on** / **off** - Three cameras can no longer be powered at the same time, and closing cameras turns power **off** to the specified camera and **on** to the other two
5+
- Updates joint trajectory action server to use new Inverse Dynamics Feed Forward Commands and configurations for smoother & more accurate MoveIt trajectory execution
6+
- Updates joint trajectory action server default control mode from *position* to *position_w_id* which uses 'raw' joint position control
7+
- Updates joint trajectory action server to replace linear, cubic, and quintic spline fitting with *Cubic Bezier Spline* interpolation. These splines can use Position, Velocity, and/or Acceleration to more accurately interpolate supplied trajectories
8+
- Adds head trajectory action server interface for controlling Baxter's head pan joint (thanks to @aginika for contributing this)
9+
- Updates verification of Gripper software versions to check firmware Build Date instead of Build Version (SDK gripper version 1.1 conflicted with Manufacturing versions)
10+
111
1.0.0 (2014-5-1)
212
---------------------------------
313
- Adds new 'raw' joint position control mode

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ catkin_python_setup()
1919
generate_dynamic_reconfigure_options(
2020
cfg/PositionJointTrajectoryActionServer.cfg
2121
cfg/VelocityJointTrajectoryActionServer.cfg
22+
cfg/PositionFFJointTrajectoryActionServer.cfg
2223
cfg/GripperActionServer.cfg
24+
cfg/HeadActionServer.cfg
2325
)
2426

27+
add_dependencies(${PROJECT_NAME}_gencfg baxter_core_msgs_generate_messages_py)
28+
2529
catkin_package(
2630
CATKIN_DEPENDS
2731
rospy

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2014, Rethink Robotics
1+
Copyright (c) 2013-2015, Rethink Robotics
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ baxter_interface Repository Overview
3838
| +-- baxter_dataflow/ timing/program flow utilities
3939
| +-- joint_trajectory_action/ joint trajectory action implementation
4040
| +-- gripper_action/ gripper action implementation
41+
| +-- head_action/ head action implementation
4142
|
4243
+-- scripts/ action server executables
4344
| +-- joint_trajectory_action_server.py
4445
| +-- gripper_action_server.py
46+
| +-- head_action_server.py
4547
|
4648
+-- cfg/ dynamic reconfigure action configs
4749

cfg/GripperActionServer.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
# Copyright (c) 2013-2014, Rethink Robotics
3+
# Copyright (c) 2013-2015, Rethink Robotics
44
# All rights reserved.
55
#
66
# Redistribution and use in source and binary forms, with or without

cfg/HeadActionServer.cfg

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#!/usr/bin/env python
2+
3+
# Copyright (c) 2013-2015, Rethink Robotics
4+
# All rights reserved.
5+
#
6+
# Redistribution and use in source and binary forms, with or without
7+
# modification, are permitted provided that the following conditions are met:
8+
#
9+
# 1. Redistributions of source code must retain the above copyright notice,
10+
# this list of conditions and the following disclaimer.
11+
# 2. Redistributions in binary form must reproduce the above copyright
12+
# notice, this list of conditions and the following disclaimer in the
13+
# documentation and/or other materials provided with the distribution.
14+
# 3. Neither the name of the Rethink Robotics nor the names of its
15+
# contributors may be used to endorse or promote products derived from
16+
# this software without specific prior written permission.
17+
#
18+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21+
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28+
# POSSIBILITY OF SUCH DAMAGE.
29+
30+
from dynamic_reconfigure.parameter_generator_catkin import (
31+
ParameterGenerator,
32+
double_t,
33+
)
34+
35+
from baxter_interface import settings
36+
37+
gen = ParameterGenerator()
38+
39+
params = (
40+
'timeout', 'goal'
41+
)
42+
43+
msg = (
44+
" - Timeout (Seconds) to achieve command",
45+
" - Maximum final error",
46+
)
47+
min = (-1.0, 0.0)
48+
default = (5.0, settings.HEAD_PAN_ANGLE_TOLERANCE)
49+
max = (20.0, 1.57)
50+
51+
for idx, param in enumerate(params):
52+
gen.add(
53+
param, double_t, 0, msg[idx],
54+
default[idx], min[idx], max[idx]
55+
)
56+
57+
exit(gen.generate('baxter_interface', '', 'HeadActionServer'))
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
#!/usr/bin/env python
2+
3+
# Copyright (c) 2013-2015, Rethink Robotics
4+
# All rights reserved.
5+
#
6+
# Redistribution and use in source and binary forms, with or without
7+
# modification, are permitted provided that the following conditions are met:
8+
#
9+
# 1. Redistributions of source code must retain the above copyright notice,
10+
# this list of conditions and the following disclaimer.
11+
# 2. Redistributions in binary form must reproduce the above copyright
12+
# notice, this list of conditions and the following disclaimer in the
13+
# documentation and/or other materials provided with the distribution.
14+
# 3. Neither the name of the Rethink Robotics nor the names of its
15+
# contributors may be used to endorse or promote products derived from
16+
# this software without specific prior written permission.
17+
#
18+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21+
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28+
# POSSIBILITY OF SUCH DAMAGE.
29+
30+
from dynamic_reconfigure.parameter_generator_catkin import (
31+
ParameterGenerator,
32+
double_t,
33+
)
34+
35+
gen = ParameterGenerator()
36+
37+
gen.add(
38+
'goal_time', double_t, 0,
39+
"Amount of time (s) controller is permitted to be late achieving goal",
40+
0.1, 0.0, 120.0,
41+
)
42+
gen.add(
43+
'stopped_velocity_tolerance', double_t, 0,
44+
"Maximum velocity (m/s) at end of trajectory to be considered stopped",
45+
0.20, -1.0, 1.0,
46+
)
47+
48+
joints = (
49+
'left_s0', 'left_s1', 'left_e0', 'left_e1', 'left_w0', 'left_w1',
50+
'left_w2', 'right_s0', 'right_s1', 'right_e0', 'right_e1', 'right_w0',
51+
'right_w1', 'right_w2',
52+
)
53+
54+
params = ('_goal', '_trajectory',)
55+
msg = (
56+
" - maximum final error",
57+
" - maximum error during trajectory execution",
58+
)
59+
min = (-1.0, -1.0,)
60+
default = (-1.0, 0.35,)
61+
max = (1.0, 1.0,)
62+
63+
for idx, param in enumerate(params):
64+
for joint in joints:
65+
gen.add(
66+
joint + param, double_t, 0, joint + msg[idx],
67+
default[idx], min[idx], max[idx]
68+
)
69+
70+
exit(gen.generate('baxter_interface', '', 'PositionFFJointTrajectoryActionServer'))

cfg/PositionJointTrajectoryActionServer.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
# Copyright (c) 2013-2014, Rethink Robotics
3+
# Copyright (c) 2013-2015, Rethink Robotics
44
# All rights reserved.
55
#
66
# Redistribution and use in source and binary forms, with or without
@@ -37,7 +37,7 @@ gen = ParameterGenerator()
3737
gen.add(
3838
'goal_time', double_t, 0,
3939
"Amount of time (s) controller is permitted to be late achieving goal",
40-
0.0, 0.0, 120.0,
40+
0.1, 0.0, 120.0,
4141
)
4242
gen.add(
4343
'stopped_velocity_tolerance', double_t, 0,

cfg/VelocityJointTrajectoryActionServer.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
# Copyright (c) 2013-2014, Rethink Robotics
3+
# Copyright (c) 2013-2015, Rethink Robotics
44
# All rights reserved.
55
#
66
# Redistribution and use in source and binary forms, with or without

0 commit comments

Comments
 (0)