Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Panda Moveit Config
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guillaume Duret
Panda Moveit Config
Commits
c3652a10
Commit
c3652a10
authored
2 years ago
by
Robert Haschke
Browse files
Options
Downloads
Patches
Plain Diff
Drop link8 from ACM
as this link doesn't have any collision model anymore
parent
adff2fdb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/arm.xacro
+2
-5
2 additions, 5 deletions
config/arm.xacro
config/hand.xacro
+2
-2
2 additions, 2 deletions
config/hand.xacro
with
4 additions
and
7 deletions
config/arm.xacro
+
2
−
5
View file @
c3652a10
...
...
@@ -52,13 +52,11 @@
<xacro:macro
name=
"configure_collisions"
params=
"link enabled:=${[]}"
>
<!-- Disable collision checking between normal links, as these are handled by "sc" links -->
<xacro:property
name=
"link_fmt"
value=
"$(arg arm_id)_link{}"
/>
<xacro:disable_collisions_for
link=
"${link_fmt.format(link)}"
others=
"${[link_fmt.format(i) for i in python.range(
9
)]}"
/>
<xacro:disable_collisions_for
link=
"${link_fmt.format(link)}"
others=
"${[link_fmt.format(i) for i in python.range(
8
)]}"
/>
<!-- Disable all collision checking for ${link}_sc -->
<xacro:property
name=
"link_fmt"
value=
"$(arg arm_id)_link{}_sc"
/>
<xacro:if
value=
"${link != 8}"
>
<disable_default_collisions
link=
"${link_fmt.format(link)}"
/>
</xacro:if>
<disable_default_collisions
link=
"${link_fmt.format(link)}"
/>
<!-- Re-enable collisions checking for selected links -->
<xacro:enable_collisions_for
link=
"${link_fmt.format(link)}"
others=
"${[link_fmt.format(i) for i in enabled]}"
/>
</xacro:macro>
...
...
@@ -72,5 +70,4 @@
<xacro:configure_collisions
link=
"5"
/>
<xacro:configure_collisions
link=
"6"
/>
<xacro:configure_collisions
link=
"7"
/>
<xacro:configure_collisions
link=
"8"
/>
</robot>
This diff is collapsed.
Click to expand it.
config/hand.xacro
+
2
−
2
View file @
c3652a10
...
...
@@ -31,9 +31,9 @@
<xacro:enable_collisions_for
link=
"$(arg arm_id)_hand_sc"
others=
"${[link_fmt.format(i) for i in [0,1,2,3]]}"
/>
<!-- Disable collision of hand link with all arm links. These are handled by the *_sc links -->
<xacro:property
name=
"link_fmt"
value=
"$(arg arm_id)_link{}"
/>
<xacro:disable_collisions_for
link=
"$(arg arm_id)_hand"
others=
"${[link_fmt.format(i) for i in python.range(
9
)]}"
/>
<xacro:disable_collisions_for
link=
"$(arg arm_id)_hand"
others=
"${[link_fmt.format(i) for i in python.range(
8
)]}"
/>
<!-- Disable collision of fingers with all arm links -->
<xacro:property
name=
"others"
value=
"${[link_fmt.format(i) for i in python.range(
9
)] + [xacro.arg('arm_id') + '_hand']}"
/>
<xacro:property
name=
"others"
value=
"${[link_fmt.format(i) for i in python.range(
8
)] + [xacro.arg('arm_id') + '_hand']}"
/>
<xacro:disable_collisions_for
link=
"$(arg arm_id)_leftfinger"
others=
"${list(others)}"
/>
<xacro:disable_collisions_for
link=
"$(arg arm_id)_rightfinger"
others=
"${list(others)}"
/>
<disable_collisions
link1=
"$(arg arm_id)_leftfinger"
link2=
"$(arg arm_id)_rightfinger"
reason=
"Never"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment