Using fallbacks efficiently #722
Replies: 1 comment 1 reply
-
|
Interesting problem. I don't think, this can be easily achieved with current containers. The implementation of the Fallback container(s) consider each incoming job independently. Usually, this is desired behavior as there might be a large number of incoming jobs, which all would need to be processed before the next child stage is considered on those jobs that failed before. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I'm looking for suggestions on how to use fallback containers more efficiently when planning.
Part of my planning pipeline looks like:
The current behaviour of this is that for each of the IK solutions it will first try the cartesian planner, and if that fails try the joint planner. However, the joint space planner is very time intensive so I would prefer that if any of the IK solutions pass the cartesian planner stage, then we should not bother to run the joint planner at all.
Functionally, this might look like the fallback working through all its jobs (IK solutions) before deciding whether to move on to the next child stage. i.e. generate IK solutions, try the cartesian planner on all the IK solutions, if all of those stages fail, try the joint planner on all the IK solutions.
It feels like there probably is a way of wrapping up parallel containers to perform this operation, but I can't quite see it!
Beta Was this translation helpful? Give feedback.
All reactions