-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fetch] Exclude specific collision-check-pairs to ignore insignificant collisions #1026
[fetch] Exclude specific collision-check-pairs to ignore insignificant collisions #1026
Conversation
thank you for your cooperation, @itohdak |
Have you considered extracting the list of pairs to ignore from the moveit configuration file? It seems that you have all the pairs marked as EDIT: |
@Affonso-Gui |
I do not believe we have any kind of utility to parse xml in euslisp (@k-okada please correct me if I am mistaken).
This case should be simple enough to go for a custom parser, reading strings line-by-line or by delimiter EDIT: Actually custom-parsing might be tricky in cases where newlines are missing/ the corresponding part is commented out (since the .srdf is usually an automatically-generated file it might be ok to ignore such cases). Also take a look in the |
Could also be interesting to give the .srdf config file as an optional parameter in |
SRDF might be not enough because euslisp makes convex for each link as below link. I think writing SRDF parser is not a good idea, and just manually write and check various angle-vectors for checking. |
See also here #895 |
Something like checking the collision pairs in reset-pose and adding them to collision-ignore (probably in the instance :init) ? Since there should be no collision links in the reset-pose all pairs appearing in collision are interpreted as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@708yamaguchi please add test code, something like
https://github.com/jsk-ros-pkg/jsk_robot/blob/master/jsk_baxter_robot/baxtereus/test/test-baxter.l#L7-L18
@708yamaguchi please resolve conflicts |
79673b1
to
0b81567
Compare
I force-pushed the commit and resolved the conflicts. |
Before
When I send fetch
:reset-pose
and calculate:self-collision-check
in euslisp, some collision pairs are always output like below.Figure of
reset-pose
of fetch is shown below.The output of
:self-collision-check
says that base link, bellows links and torso link collide, but this information seems to be meaningless.After
In this Pull Request, I exclude the specific pairs from
:collision-check-pairs
. With this Pull Request, output of:self-collision-check
is below.