Skip to content

Commit 86d30b4

Browse files
authored
Update move group c++ interface doc (#563)
* Update move groupe c++ interface doc Give reference to the fact that in some cases one has to enforce the joint_model_state_space * Removed white spaces and fixed typo * Removed trailing whitespaces
1 parent 1716a96 commit 86d30b4

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

doc/move_group_interface/src/move_group_interface_tutorial.cpp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,22 @@ int main(int argc, char** argv)
214214
test_constraints.orientation_constraints.push_back(ocm);
215215
move_group.setPathConstraints(test_constraints);
216216

217+
// Enforce Planning in Joint Space
218+
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
219+
//
220+
// Depending on the planning problem MoveIt chooses between
221+
// ``joint space`` and ``cartesian space`` for problem representation.
222+
// Setting the group parameter ``enforce_joint_model_state_space:true`` in
223+
// the ompl_planning.yaml file enforces the use of ``joint space`` for all plans.
224+
//
225+
// By default planning requests with orientation path constraints
226+
// are sampled in ``cartesian space`` so that invoking IK serves as a
227+
// generative sampler.
228+
//
229+
// By enforcing ``joint space`` the planning process will use rejection
230+
// sampling to find valid requests. Please note that this might
231+
// increase planning time considerably.
232+
//
217233
// We will reuse the old goal that we had and plan to it.
218234
// Note that this will only work if the current state already
219235
// satisfies the path constraints. So we need to set the start

0 commit comments

Comments
 (0)