ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have not used this feature myself, so I don't know for sure that it is actually implemented in moveit and ompl. But some preliminary investigation turned up a few things:
You are not setting all the fields of the JointConstraint
message. I would expect joint_name
and weight
to be mandatory, as weight
defaults to 0.0.
If the constraint is still not being applied, do a web search for the property enforce_joint_model_state_space
for file ompl_planning.yaml
. But setting this to true apparently has other negative side-effects.
2 | No.2 Revision |
I have not used this feature myself, so I don't know for sure that it is actually implemented in moveit and ompl. But some preliminary investigation turned up a few things:
You are not setting all the fields of the JointConstraint
message. I would expect joint_name
and weight
to be mandatory, as weight
defaults to 0.0.
If the constraint is still not being applied, do a web search for the property enforce_joint_model_state_space
for file ompl_planning.yaml
. But setting this to true apparently has other negative side-effects.
Success may depend on which ompl planner you are using. Some planners may not support this constraint feature?