-
Notifications
You must be signed in to change notification settings - Fork 698
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
Planning example with user-defined constraint available? #581
Comments
There is this tutorial PR: #518 That depends on this PR on moveit: moveit/moveit#2273 If that is what you are looking for you'll need to build moveit from source to follow that tutorial. It is not currently merged in because it is not passing CI. Currently, the CI failure may or may not be a result of this PR. We have not had time to yet figure it out unfortunatly. |
Thanks for your quick answer.
In my case, I want to impose a constraint on the goal state only. While approaching the target, the constraint will be violated. Is that possible? (I will use a user-defined constraint.) |
I will try to rephrase my question: How can I plan a trajectory that ensures the feasibility of a user-defined constraint for at least one of the discrete steps? |
I'm not sure about the Python interface, but for the C++ one in the MotionPlanRequest you can set the goal_constraints |
Thanks for your comments! |
Where can I find a c++/python example that demonstrates how to use the OMPL planner?
For my specific use case with the panda robot, the planner should output a trajectory with a goal state that minimizes a custom, user-specified cost (or, in other words, that is feasible with respect to a custom, user-specified constraint). The goal state to be optimized will have a non-zero velocity.
I read the MoveIt tutorials, but it is not clear to me how to approach this problem exactly.
Thanks for your suggestions!
The text was updated successfully, but these errors were encountered: