File tree 3 files changed +16
-10
lines changed
src/factory_sim/objectives
3 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 67
67
ID =" AttachTool"
68
68
parent_link_name =" tool0"
69
69
tool_name =" {tool_name}"
70
- allowed_collision_links =" link_6"
70
+ allowed_collision_links =" link_5; link_6"
71
71
/>
72
72
<SubTree ID =" Retract" _collapsed =" true" distance =" 0.35" />
73
73
</Control >
78
78
<Metadata subcategory =" Grasping" />
79
79
<Metadata runnable =" false" />
80
80
</MetadataFields >
81
- <inout_port name =" tool_name" default =" " />
82
81
<inout_port name =" tool_attach_site" default =" " />
82
+ <inout_port name =" tool_name" default =" " />
83
83
</SubTree >
84
84
</TreeNodesModel >
85
85
</root >
Original file line number Diff line number Diff line change 20
20
trajectory_monitoring =" false"
21
21
/>
22
22
<Action ID =" SetupMTCCurrentState" task =" {mtc_task}" />
23
- <Action
24
- ID =" SetupMTCIgnoreCollisionsBetweenObjects"
25
- allow_collision =" true"
26
- task =" {mtc_task}"
27
- object_names =" {ignore_collisions_between_these_objects}"
28
- />
23
+ <Decorator
24
+ ID =" Precondition"
25
+ else =" SUCCESS"
26
+ if =" ignore_collisions_between_these_objects!="" "
27
+ >
28
+ <Action
29
+ ID =" SetupMTCIgnoreCollisionsBetweenObjects"
30
+ allow_collision =" true"
31
+ task =" {mtc_task}"
32
+ object_names =" {ignore_collisions_between_these_objects}"
33
+ />
34
+ </Decorator >
29
35
<Action
30
36
ID =" SetupMTCPlanToPose"
31
37
acceleration_scale_factor =" 0.5"
Original file line number Diff line number Diff line change 22
22
<Action ID =" WaitForDuration" delay_duration =" 2" />
23
23
<SubTree
24
24
ID =" Place Tool in Tool Holder"
25
- _collapsed =" true "
26
- ignore_collisions_between_these_objects =" "
25
+ _collapsed =" false "
26
+ ignore_collisions_between_these_objects =" link_5;link_6;suction_gripper "
27
27
tool_name =" suction_gripper"
28
28
tool_return_site =" suction_gripper_holder_site"
29
29
/>
You can’t perform that action at this time.
0 commit comments