Replies: 2 comments 3 replies
-
This is probably a relevant discussion. As far as I know are currently 3 ways to set profiles
It seems like 1 is what you are wanting. Is that incorrect? I am currently using 1 and 2 to create a GraphTaskflow. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I looked through everything and think the best solution would be to add the profile dictionary to the planning request and remove the storing of profiles from the generators. Then the planners will use this to find the correct profiles simplifying things. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The issue
I just created a few custom taskflow generators using the
GraphTaskflowGenerator
class, and I found it somewhat difficult to add motion planners as task generators. This is due to the fact that they need to know about the available planning profiles from theTaskInput
structure, which is not available when I'm constructing my customGraphTaskflowGenerator
class. There currently exists aMotionPlannerTaskGenerator
that would meet my needs, but it requires that a planner that is pre-configured with profiles by theTaskInput
be passed to it (see here)Example problem
The resulting graph task flow might look like this:
Short-term solution
I can solve this by making a task generator class for each type of motion planner that:
MotionPlannerTaskGenerator
given the planning objectMotionPlannerTaskGenerator::process
andMotionPlannerTaskGenerator::conditionalProcess
functionsThis solution seems like a lot of repeat code for a task that seems conceptually generic across all current motion planners
Example code
Long-term solution?
It seems like the
MotionPlanner
base class should have a function for applying profiles. If this were the case, then we could simply modify theMotionPlannerTaskGenerator
to apply known profiles to a planner that gets passed in.As it stands, there are a few problems that prevent me from solving this issue in a generic way:
I'm opening this discussion to brainstorm some ideas for unifying the high-level planning interfaces and making custom planning graphs easier to create.
Some questions to answer:
Beta Was this translation helpful? Give feedback.
All reactions