|
10 | 10 | _description="" |
11 | 11 | > |
12 | 12 | <Control ID="Sequence"> |
13 | | - <!--Create a special type of motion planning configuration that includes an upwards orientation requirement--> |
14 | | - <Action |
15 | | - ID="InitializeMotionConstraints" |
16 | | - constraints_name="gripper pointing down" |
17 | | - constraints="{constraints}" |
18 | | - /> |
19 | | - <Action |
20 | | - ID="AppendOrientationConstraint" |
21 | | - config_file_name="my_constraints.yaml" |
22 | | - constraints="{constraints}" |
23 | | - /> |
24 | 13 | <!--Move to pick location--> |
25 | 14 | <!--Note: Sampling based planners can be non-deterministic. The retry decorator improves the likelihood of success--> |
26 | 15 | <Decorator ID="RetryUntilSuccessful" num_attempts="3"> |
|
30 | 19 | joint_group_name="manipulator" |
31 | 20 | controller_names="/joint_trajectory_controller /robotiq_gripper_controller" |
32 | 21 | planner_interface="moveit_default" |
33 | | - constraints="{constraints}" |
| 22 | + keep_orientation="true" |
| 23 | + keep_orientation_tolerance="0.2" |
34 | 24 | /> |
35 | 25 | </Decorator> |
36 | 26 | <Decorator ID="RetryUntilSuccessful" num_attempts="3"> |
|
40 | 30 | joint_group_name="manipulator" |
41 | 31 | controller_names="/joint_trajectory_controller /robotiq_gripper_controller" |
42 | 32 | planner_interface="moveit_default" |
43 | | - constraints="{constraints}" |
| 33 | + keep_orientation="true" |
| 34 | + keep_orientation_tolerance="0.2" |
44 | 35 | /> |
45 | 36 | </Decorator> |
46 | 37 | <!--We force success as the gripper closes, since we are commanding a position it will never reach (fingers fully closed)--> |
|
54 | 45 | controller_names="/joint_trajectory_controller /robotiq_gripper_controller" |
55 | 46 | joint_group_name="manipulator" |
56 | 47 | planner_interface="moveit_default" |
57 | | - constraints="{constraints}" |
| 48 | + keep_orientation="true" |
| 49 | + keep_orientation_tolerance="0.2" |
58 | 50 | _collapsed="true" |
59 | 51 | waypoint_name="{pre_pick}" |
60 | 52 | /> |
|
65 | 57 | controller_names="/joint_trajectory_controller /robotiq_gripper_controller" |
66 | 58 | joint_group_name="manipulator" |
67 | 59 | planner_interface="moveit_default" |
68 | | - constraints="{constraints}" |
| 60 | + keep_orientation="true" |
| 61 | + keep_orientation_tolerance="0.2" |
69 | 62 | _collapsed="true" |
70 | 63 | waypoint_name="{pre_place}" |
71 | 64 | /> |
|
76 | 69 | controller_names="/joint_trajectory_controller /robotiq_gripper_controller" |
77 | 70 | joint_group_name="manipulator" |
78 | 71 | planner_interface="moveit_default" |
79 | | - constraints="{constraints}" |
| 72 | + keep_orientation="true" |
| 73 | + keep_orientation_tolerance="0.2" |
80 | 74 | _collapsed="true" |
81 | 75 | waypoint_name="{place}" |
82 | 76 | /> |
|
88 | 82 | controller_names="/joint_trajectory_controller /robotiq_gripper_controller" |
89 | 83 | joint_group_name="manipulator" |
90 | 84 | planner_interface="moveit_default" |
91 | | - constraints="{constraints}" |
| 85 | + keep_orientation="true" |
| 86 | + keep_orientation_tolerance="0.2" |
92 | 87 | _collapsed="true" |
93 | 88 | waypoint_name="{pre_place}" |
94 | 89 | /> |
|
0 commit comments