Open rojas70 opened 10 years ago
I am also seeing this with the pick and place demo and the latest clam code from indigo-devel. At first I was getting an error in the moveit core libs but fixed that by using the latest moveit code from source in my clam workspace.
I am running the demo like this:
$ roslaunch clam_bringup lowlevel_simulator.launch
$ roslaunch clam_moveit_config move_group.launch verbose:=true debug:=true
$ roslaunch clam_moveit_config moveit_rviz.launch
$ roslaunch clam_pick_place pick_place.launch verbose:=true debug:=true
and am getting this output in the move_group terminal after a failed pick attempt - usually it is this:
[ WARN] [1419880013.907854044]: All supplied grasps failed. Retrying last grasp in verbose mode.
[New Thread 0x7fffb57fa700 (LWP 19212)]
[New Thread 0x7fffb5ffb700 (LWP 19213)]
[New Thread 0x7fffb67fc700 (LWP 19214)]
[New Thread 0x7fffb6ffd700 (LWP 19215)]
[ INFO] [1419880013.914476004]: Re-added last failed plan for pipeline 'pick'. Queue is now of size 1
[ INFO] [1419880013.926159928]: IK failed
[ INFO] [1419880013.953612387]: IK failed
[ INFO] [1419880013.956352267]: IK failed
[ INFO] [1419880013.956390577]: Sampler failed to produce a state
[ INFO] [1419880013.956411766]: Manipulation plan 1 failed at stage 'reachable & valid pose filter' on thread 0
[Thread 0x7fffb6ffd700 (LWP 19215) exited]
[Thread 0x7fffb67fc700 (LWP 19214) exited]
[Thread 0x7fffb57fa700 (LWP 19212) exited]
[ INFO] [1419880013.958066601]: Pickup planning completed after 3.366494 seconds
but once it was this:
[ WARN] [1419880054.024804945]: All supplied grasps failed. Retrying last grasp in verbose mode.
[New Thread 0x7fffb57fa700 (LWP 19249)]
[New Thread 0x7fffb5ffb700 (LWP 19250)]
[New Thread 0x7fffb67fc700 (LWP 19251)]
[New Thread 0x7fffb6ffd700 (LWP 19252)]
[ INFO] [1419880054.026400093]: Re-added last failed plan for pipeline 'pick'. Queue is now of size 1
[ INFO] [1419880054.036831667]: Found a contact between 'base_link' (type 'Robot link') and 'shoulder_pitch_link' (type 'Robot link'), which constitutes a collision. Contact information is not stored.
[ INFO] [1419880054.036895535]: Collision checking is considered complete (collision was found and 0 contacts are stored)
[ INFO] [1419880054.037461546]: Orientation constraint satisfied for link 'gripper_roll_link'. Quaternion desired: 0.000000 -0.000000 0.707107 0.707107, quaternion actual: -0.001798 -0.001698 0.709919 0.704279, error: x=0.004945, y=0.000121, z=0.007977, tolerance: x=0.010000, y=0.010000, z=0.010000
[ INFO] [1419880054.037517038]: Position constraint violated on link 'gripper_roll_link'. Desired: 0.350000, -0.100000, 0.020000, current: 0.345304, -0.094064, 0.019757
[ INFO] [1419880054.037551202]: Differences 0.00469566 -0.00593592 0.000243243
[ INFO] [1419880054.079623823]: Found a contact between 'base_link' (type 'Robot link') and 'shoulder_pitch_link' (type 'Robot link'), which constitutes a collision. Contact information is not stored.
[ INFO] [1419880054.079695769]: Collision checking is considered complete (collision was found and 0 contacts are stored)
[ INFO] [1419880054.080148737]: Orientation constraint satisfied for link 'gripper_roll_link'. Quaternion desired: 0.000000 -0.000000 0.707107 0.707107, quaternion actual: 0.000704 0.002694 0.706237 0.707970, error: x=0.004808, y=0.002808, z=0.002457, tolerance: x=0.010000, y=0.010000, z=0.010000
[ INFO] [1419880054.080185941]: Position constraint violated on link 'gripper_roll_link'. Desired: 0.350000, -0.100000, 0.020000, current: 0.344452, -0.094603, 0.019870
[ INFO] [1419880054.080215181]: Differences 0.00554827 -0.00539707 0.000129861
[ INFO] [1419880054.114410380]: Found a contact between 'base_link' (type 'Robot link') and 'shoulder_pitch_link' (type 'Robot link'), which constitutes a collision. Contact information is not stored.
[ INFO] [1419880054.114455911]: Collision checking is considered complete (collision was found and 0 contacts are stored)
[ INFO] [1419880054.114813763]: Orientation constraint satisfied for link 'gripper_roll_link'. Quaternion desired: 0.000000 -0.000000 0.707107 0.707107, quaternion actual: -0.003875 -0.000947 0.705291 0.708906, error: x=0.006808, y=0.004159, z=0.005098, tolerance: x=0.010000, y=0.010000, z=0.010000
[ INFO] [1419880054.114848430]: Position constraint violated on link 'gripper_roll_link'. Desired: 0.350000, -0.100000, 0.020000, current: 0.344747, -0.093182, 0.020416
[ INFO] [1419880054.114875477]: Differences 0.00525277 -0.006818 -0.000416043
[ INFO] [1419880054.114898877]: Sampler failed to produce a state
[ INFO] [1419880054.114922702]: Manipulation plan 32 failed at stage 'reachable & valid pose filter' on thread 2
[Thread 0x7fffb5ffb700 (LWP 19250) exited]
[Thread 0x7fffb6ffd700 (LWP 19252) exited]
[Thread 0x7fffb67fc700 (LWP 19251) exited]
[Thread 0x7fffb57fa700 (LWP 19249) exited]
[ INFO] [1419880054.117738265]: Pickup planning completed after 3.536156 seconds
I am also attached a screenshot of the rviz visualization - any ideas on how to debug?
OK I have made a bit of progress. I moved the block locations a little in moveit_blocks.h in moveit_simple_grasps package and then it was able to find the block and tried to plan a path but there was an error in the controller code :
From the pick and place terminal:
[ INFO] [1419881069.613040931]: Generated 34 grasps.
[ INFO] [1419881069.615142955]: Generated 68 grasps.
[ INFO] [1419881069.616607543]: Generated 102 grasps.
[ INFO] [1419881069.617736162]: Generated 136 grasps.
[ WARN] [1419881088.442349666]: Fail: ABORTED: Solution found but controller failed during execution
[ERROR] [1419881088.442654949]: Pick failed.
[ INFO] [1419881088.442668718]: Retry? (y/n)
From the move_group terminal:
[ INFO] [1419881085.172649273]: Manipulation plan 60 failed at stage 'reachable & valid pose filter' on thread 3
[ INFO] [1419881085.197547651]: Attaching world object 'Block1' to link 'gripper_roll_link'
[ INFO] [1419881085.197993628]: Attached object 'Block1' to link 'gripper_roll_link'
[ INFO] [1419881085.217595073]: Manipulation plan 5 failed at stage 'reachable & valid pose filter' on thread 0
[New Thread 0x7fff9effd700 (LWP 28662)]
[ INFO] [1419881085.258537444]: Manipulation plan 39 failed at stage 'reachable & valid pose filter' on thread 3
[ INFO] [1419881085.263702269]: LBKPIECE1: Starting planning with 1 states already in datastructure
[Thread 0x7fff9effd700 (LWP 28662) exited]
[ INFO] [1419881085.274721881]: Manipulation plan 38 failed at stage 'reachable & valid pose filter' on thread 1
[ INFO] [1419881085.303703579]: LBKPIECE1: Created 24 (9 start + 15 goal) states in 18 cells (9 start (9 on boundary) + 9 goal (9 on boundary))
[ INFO] [1419881085.303815380]: Solution found in 0.046069 seconds
[ INFO] [1419881085.310102520]: SimpleSetup: Path simplification took 0.006175 seconds and changed from 16 to 2 states
[ INFO] [1419881085.317754469]: Found successful manipulation plan!
[Thread 0x7fffb4ff9700 (LWP 28660) exited]
[ INFO] [1419881085.363930516]: Manipulation plan 4 failed at stage 'reachable & valid pose filter' on thread 0
[Thread 0x7fffb57fa700 (LWP 28658) exited]
[ INFO] [1419881085.371541739]: Manipulation plan 97 failed at stage 'reachable & valid pose filter' on thread 1
[Thread 0x7fffb6ffd700 (LWP 28659) exited]
[ INFO] [1419881085.434258902]: Manipulation plan 96 failed at stage 'reachable & valid pose filter' on thread 3
[Thread 0x7fff9f7fe700 (LWP 28661) exited]
[ INFO] [1419881085.437977963]: Pickup planning completed after 2.160031 seconds
[New Thread 0x7fff9f7fe700 (LWP 28663)]
[New Thread 0x7fffb5ffb700 (LWP 28664)]
[ WARN] [1419881088.295890098]: Controller handle clam_trajectory_controller reports status ABORTED
[Thread 0x7fffb5ffb700 (LWP 28664) exited]
[Thread 0x7fff9f7fe700 (LWP 28663) exited]
From the lowlevel_simulator terminal:
[ INFO] [1419881088.291119147]: Trajectory execution successfully completed
[ERROR] [1419881088.294399496]: Unrecognized command -0.925024
[ INFO] [1419881088.295174873]:
inside process Trajectory with msg:
header:
seq: 0
stamp: 0.000000000
frame_id: /base_link
joint_names[]
joint_names[0]: gripper_roll_joint
points[]
points[0]:
positions[]
positions[0]: 0.0459599
velocities[]
velocities[0]: 0
accelerations[]
accelerations[0]: -0.029919
effort[]
time_from_start: 0.000000000
points[1]:
positions[]
positions[0]: 0.0459599
velocities[]
velocities[0]: 0
accelerations[]
accelerations[0]: -0.029919
effort[]
time_from_start: 4.000000000
[ERROR] [1419881088.295332023]: Unable to locate joint elbow_pitch_joint in the commanded trajectory
So getting closer! I will trouble-shoot this later today - any advice welcome :)
The latest error "Unable to locate joint elbow_pitch_joint" seems to be because MoveIt is sending a Trajectory message with only the gripper_roll_joint specified and the dynamixel_simulator_interface joint_trajectory_action_controller.cpp file seems to be expecting all the Trajectory messages to have all the joints specified.
Dear Dylan I meet the same problem that the error outside of tolerance: x=0.010000, y=0.010000, z=0.010000 So, I want to know do you solve the problem?
Many thanks.
Dave, hydro code compiles great.
When running the
rosrun clam_pick_place simple_pick_place
In generateRandomBlock->pick->generateBlockGrasps: When the following command is calledgroup->pick(blockname,groups)
,[ WARN] [1402899684.071986520, 3635.049000000]: Fail: ABORTED: No motion plan found. No execution attempted. [ERROR] [1402899684.072988983, 3635.049000000]: Pick failed. Retrying.
Would this be related to the collision between Block1 and the l_gripper_finger_link or could it be related to approximate kinematics as mentioned in: https://groups.google.com/forum/#!searchin/moveit-users/no$20motion$20plan$20found/moveit-users/cup7Z-1bug0/ivp9a2ZNsZcJ ?
There is a very similar problem mentioned in the moveit group (https://groups.google.com/forum/#!searchin/moveit-users/no$20motion$20plan$20found/moveit-users/_M0mf-R7AvI/cV4v755bwEQJ) but I have not yet figured it out.