Skip to content
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

I do not understand param "Min.collisions for 'always'-colliding pairs" in moveit setup assistant ! #3177

Open
marcuswuh opened this issue Dec 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@marcuswuh
Copy link

Is your feature request related to a problem? Please describe.

Image

Please help me.

Describe the solution you'd like

I guess , this param is an threshold for 'always'-colliding pairs. but what exactly it is? an threshold for collision times or volume?

Describe alternatives you've considered

No response

Additional context

No response

@marcuswuh marcuswuh added the enhancement New feature or request label Dec 24, 2024
@mikeferguson
Copy link
Contributor

The general idea here is:

  • We sample a number of random poses of the robot (in your case, based on the slider, it looks like 10000 poses will be sampled)
  • For each sampled pose, we determine what links are in collision
  • After 10000 sampled poses, if >95% of the poses result in collision of the two links, they are considered to be "always colliding" - in your case, if in >9500 of the 10000 sampled poses.

@mikeferguson
Copy link
Contributor

It looks like the text in the setup assistant is being cut off for some reason (is the screen too small?) - here's what is in the code:

auto header = new HeaderWidget(
      "Optimize Self-Collision Checking",
      "This searches for pairs of robot links that can safely be disabled from collision checking, decreasing motion "
      "planning time. These pairs are disabled when they are always in collision, never in collision, in collision in "
      "the robot's default position, or when the links are adjacent to each other on the kinematic chain. Sampling "
      "density specifies how many random robot positions to check for self collision.",
      this);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants