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

Allow passing object sampling tsr to place function #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Mehar-Singh
Copy link

No description provided.

@@ -225,7 +225,7 @@ def __init__(self, left_arm_sim, right_arm_sim, right_ft_sim,
TSRPlanner(delegate_planner=actual_planner),
self.cbirrt_planner),
# Special purpose meta-planner.
NamedPlanner(delegate_planner=actual_planner),
NamedPlanner(delegate_planner=Sequence(actual_planner, self.cbirrt_planner)),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of this change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows calls to PlanToNamedConfiguration to use a randomized planner (in this case CBiRRT) when snap planner and optimizers have failed. We are seeing that when planning out of tight quarters near objects using CHOMP the resulting trajectory fails to get pushed out of collision. I think this change is important, especially if a user has only CHOMP installed and not trajopt, but we will pull it out and put it into a separate PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is reasonable. I am fine with leaving it in this pull request.

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

3 participants