-
Notifications
You must be signed in to change notification settings - Fork 65
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 Constraints from MoveIt Request #62
base: indigo-devel
Are you sure you want to change the base?
Planning Constraints from MoveIt Request #62
Conversation
…ints and does not immediately install them
…s from ROS params and loading extra constraints via user request constraints.
… in the goal and no pose constraints are loaded via defaults.
Thanks for the contribution, it's not clear to me why the build fails. |
It appears to build, but the unit tests are failing:
Specifically, the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few TODOs here and there,
@Jmeyer1292 were you planning to make any further changes here?
@@ -56,6 +56,11 @@ class GoalOrientation : public Constraint | |||
|
|||
GoalOrientation(); | |||
|
|||
virtual unsigned constraintType() const |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to drop the virtual and use override instead.
// Constraint additions | ||
std::vector<std::pair<bool, Constraint*> > resolveConstraints() const; | ||
|
||
Constraint* createConstraint(const moveit_msgs::PositionConstraint& pos_constraint) const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it not be safer (memory-wise) to return smart pointers?
This PR needs some documentation work.
The general idea is that we load constraint plugins from the YAML file and store them as
default_constraints
. Added to the base class is an integer field flag list that indicates if the given plugin constraints position or orientation.If the user specifies goal constraints that also constraint position or orientation, those are used IN PLACE of the defaults.