Dear all,
I am configuring a 3 link planar arm with moveIt and here is the part of srdf file.
<group name="ahr_arm">
<link name="down_link" />
<joint name="arm_1_to_base" />
<joint name="link1_link2" />
<joint name="link2_link3" />
<joint name="link3_down_link" />
</group>
<!--END EFFECTOR: Purpose: Represent information about an end effector.-->
<end_effector name="disk_ef" parent_link="down_link" group="ahr_arm" />
I use move group interface via C++ for motion planning. When I set a random target using
group.setRandomTarget();and planned it works and I can see the planned result in rviz.
group.setRandomTarget();
moveit::planning_interface::MoveGroup::Plan my_plan;
bool success = group.plan(my_plan);
group.move();
But When I set a position target using
group.setPositionTarget(-0.433892, -0.109893, 0.0000, "down_link");
and planned it gives an error.
[ WARN] [1402937327.375698775]: Fail: ABORTED: No motion plan found. No execution attempted.
and
[ INFO] [1402937327.377013739]: Planning attempt 1 of at most 1
[ INFO] [1402937327.377798236]: No planner specified. Using default.
[ INFO] [1402937327.377905180]: LBKPIECE1: Attempting to use default projection.
[ INFO] [1402937327.378179423]: LBKPIECE1: Starting with 1 states
[ERROR] [1402937332.380049183]: LBKPIECE1: Unable to sample any valid states for goal tree
[ INFO] [1402937332.380161762]: LBKPIECE1: Created 1 (1 start + 0 goal) states in 1 cells (1 start (1 on boundary) + 0 goal (0 on boundary))
[ INFO] [1402937332.380276906]: No solution found after 5.002223 seconds
[ INFO] [1402937332.381313319]: Unable to solve the planning problem
I am new to moveIt and I am stuck with this error. So please give suggestions to solve this.