-
Notifications
You must be signed in to change notification settings - Fork 19
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
PlanToConfigurations Error in PlanToTSR #143
Comments
I seem to recall that @mkoval prefers to customize the delegate planners used by TSRPlanner. Is it possible that TSRPlanner, when it is constructed in Then it would not be using the full planner stack in |
@psigen is correct. Here is the default planner used on HERB: actual_planner = Sequence(
# First, try the straight-line trajectory.
self.snap_planner,
# Then, try a few simple (and fast!) heuristics.
self.vectorfield_planner,
self.greedyik_planner,
# Next, try a trajectory optimizer.
self.trajopt_planner or self.chomp_planner
)
self.planner = FirstSupported(
Sequence(
actual_planner,
TSRPlanner(delegate_planner=actual_planner),
self.cbirrt_planner
),
# Special purpose meta-planner.
NamedPlanner(delegate_planner=actual_planner),
)
The problem is that none of the planners in
|
This is the expected behavior, so I am closing this bug. |
Okay your reasoning makes sense to me. Thank you for the detailed explanation. Help me understand why chunk size should be an argument if it really has to be 1? Is this to allow for your potential fix #1? |
It makes sense to use a larger |
If you call PlanToTSR with the default chunk size, 1, then the planner calls 'PlanToConfiguration' and everything's fine. However if you call PlanToTSR with a chunk size greater then 1, then 'PlanToConfigurations' is called . This fails with the error
Now this doesn't make a lot of sense. The delegate planners (gotten by robot.planners) are listed as:
CBIRRT has 'PlanToConfigurations' as a capability (the others appear not to) which means that the planner, when trying 'PlanToConfigurations' should get to CBIRRT's and use it. For some reason this seems as though it's not happening.
I was calling PlanToTSR with a pointing tsr and while I'm actually fine with the default chunk size now, the possible bug is curious. I am on the master branch for everything and I just pulled to everything is full up to date.
Offending Code:
Traceback:
The text was updated successfully, but these errors were encountered: