Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@yurirocha15
Copy link
Contributor

@yurirocha15 yurirocha15 commented Oct 31, 2024

Currently, both the AIT* and EIT* are initializing their Informed State Samplers' maxNumberCalls with std::numeric_limits<unsigned int>::max(). The maxNumberCalls will determine the maximum number of tries the sampler will do to find a valid sample. So currently, if for some reason the sampler cannot find a valid sample (maybe because a PHS is way smaller than the full sampling space), it will try at most std::numeric_limits<unsigned int>::max() (~4.3 billion) times before returning to the planner. (In my experiments, I had a moveit plan taking 1000s when the maximum planning time was set to 50s)

As this value was already hard coded, I simply changed the value to 100, mainly because this is the default value used by RRT*. (Should this be exposed with a getter and a setter like RRT*?)

It would be better if the samplers also respected the termination conditions, but this change would require changing the ABI in a lot of places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.