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

SimpleScoredSamplingPlanner- try fallback generators even if valid trajectories were found (option) #1201

Open
wants to merge 1 commit into
base: melodic-devel
Choose a base branch
from

Conversation

rayvburn
Copy link

@rayvburn rayvburn commented Jun 9, 2022

Why this MR was created?

Currently It is impossible to use multiple trajectory generators that are treated equally (when second and next ones are not fallback generators). It is a clear limitation to local planner design.

What was done?

I've added extra parameter to the SimpleScoredSamplingPlanner constructor so user can actually select if, e.g., the second generator is the fallback one or should always be checked (just like the primary generator).

Does it affect API of the previous applications?

No, because:

  • default value is set to false which does not change behavior compared to the current version
  • extra constructor argument is equipped with default value so API of the present applications does not change

@rayvburn rayvburn force-pushed the scored-sampling-planner-fallback-generators-param branch from 5af5837 to c55df63 Compare June 10, 2022 19:36
@rayvburn rayvburn marked this pull request as ready for review June 10, 2022 19:36
…try fallback generators even if valid trajectories were found

- default value is set to false which does not change behavior compared to the current version
- extra ctor arg is equipped with default value so API of the present applications does not change
@rayvburn rayvburn force-pushed the scored-sampling-planner-fallback-generators-param branch from c55df63 to eddf6c4 Compare June 10, 2022 20:02
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.

None yet

1 participant