ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

moveit error ABORTED: No motion plan found. No execution attempted. [closed]

asked 2019-02-20 07:22:10 -0500

mvish7 gravatar image

updated 2019-02-21 01:18:47 -0500

Hello,

I’m using moveit c++ interface in order to send a cartesian pose to the gazebo simulated robot. Below is the code which i’m using to send the pose, the mentioned pose is retrived from gazebo by calling gazebo/get_model_state service hence pose is accurate.

This pose is definately reachable as i have planend simular pose for gazebo simulated robot using rviz gui + moveit plugin. When i use rviz gui to generate any pose and plan+execute it, there is no error. When i use moveit c++ interface there will be error saying ABORTED: No motion plan found. No execution attempted..

Update1 When i send cartesian pose by using moveit c++ interface, robot doesn’t plan the motion in rviz. My question is now reframed as: is my pose valid?? How to check if it is valid?

Error from terminal where moveit c++ interface script is called:

vmh@williams:~/ws_panda_gazebo_moveit$ roslaunch robot_moveit_config moveit_interface.launch
... logging to /home/vmh/.ros/log/212903dc-3515-11e9-82e7-fcaa1425f14a/roslaunch-williams-29963.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://williams:42297/

SUMMARY
========

PARAMETERS
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /
    moveit_interface (robot_moveit_config/moveit_interface)

ROS_MASTER_URI=http://localhost:11311

process[moveit_interface-1]: started with pid [29980]
[ INFO] [1550670315.883205552]: Loading robot model 'panda'...
[ WARN] [1550670315.883263281]: Skipping virtual joint 'virtual_joint' because its child frame 'panda_link0' does not match the URDF frame 'world'
[ INFO] [1550670315.883273752]: No root/virtual joint specified in SRDF. Assuming fixed joint
[ INFO] [1550670315.961528919]: Loading robot model 'panda'...
[ WARN] [1550670315.961571718]: Skipping virtual joint 'virtual_joint' because its child frame 'panda_link0' does not match the URDF frame 'world'
[ INFO] [1550670315.961587993]: No root/virtual joint specified in SRDF. Assuming fixed joint
[ INFO] [1550670315.975847754]: cache file /home/vmh/.ros/robot_descriptionpanda_arm_worldpanda_link8_5000_1.000000_1.000000.ikcache initialized!
[ INFO] [1550670317.258878053, 2440.230000000]: Ready to take commands for planning group panda_arm.
[ INFO] [1550670332.779023625, 2455.727000000]: ABORTED: No motion plan found. No execution attempted.
[moveit_interface-1] process has finished cleanly
log file: /home/vmh/.ros/log/212903dc-3515-11e9-82e7-fcaa1425f14a/moveit_interface-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Update2:

When i check the terminal from which i launch rviz gui, i get the error saying: Terminal info in which rviz gui is launched:

You can start planning now!

[ INFO] [1550670083.139279735, 2206.390000000]: Stereo is NOT SUPPORTED
[ INFO] [1550670083.139358951, 2206.390000000]: OpenGl version: 4.5 (GLSL 4.5).
[ INFO] [1550670086.554426726, 2209.801000000]: Loading robot model 'panda'...
[ WARN] [1550670086.554517355, 2209.801000000]: Skipping virtual joint 'virtual_joint' because its child frame 'panda_link0' does not match the URDF frame 'world'
[ INFO] [1550670086.554538395, 2209.801000000]: No root/virtual joint specified in SRDF. Assuming fixed joint
[ INFO] [1550670086.601970879, 2209.849000000]: Loading robot model 'panda'...
[ WARN] [1550670086.601996655, 2209.849000000]: Skipping virtual joint 'virtual_joint' because its child frame 'panda_link0' does not match the URDF frame 'world'
[ INFO] [1550670086.602012504, 2209.849000000]: No root/virtual ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mvish7
close date 2019-02-25 02:32:10.051631

Comments

I'm sorry to have to do this, but your question (after the update) violates the support guidelines, specifically the part about not posting screenshots of terminals or code.

It's all just text, so please copy-paste it into your question body.

After you fix this, we can re-open.

gvdhoorn gravatar image gvdhoorn  ( 2019-02-20 08:01:21 -0500 )edit
2

Hi, My apologies for these violations. I have rectified the question, could you please reopen it?

mvish7 gravatar image mvish7  ( 2019-02-20 08:08:16 -0500 )edit
1

Thanks for updating.

I've re-opened it.

gvdhoorn gravatar image gvdhoorn  ( 2019-02-20 08:18:58 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-02-21 03:06:54 -0500

kolya_rage gravatar image

updated 2019-02-21 03:09:34 -0500

Yes, this is a problem which is hard to debug, because function MoveGroup::plan() returns either success or fail(besides having all those nice error messages like not valid pose, etc. - they are not used).

Maybe your pose is not valid. this can be an URDF restriction. What you should do. Make an array of points with radius 0 to R around your robot. Run your planning for each of them. Save successful end poses and visualize them - you will see restrictions of the robot.

Also, your rviz says that it does not have transformation from your robot to the world. So make sure you have static transformation publisher for these frame ids.

Execute from command line: static_transform_publisher 0 0 0 0 0 0 world YOUR_ROBOT_BASE_LINK 10

edit flag offensive delete link more

Comments

@kolya_rage: Thank you for your reply. in the end i found that pose was not valid. Specifically x coordinate of my pose was out side the workspace of panda arm. For anyone who wants to know range of panda arm, page 41, 42 of user manual can help. Thanks to @aPonza for this info.

mvish7 gravatar image mvish7  ( 2019-02-25 02:31:54 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-02-20 07:22:10 -0500

Seen: 2,300 times

Last updated: Feb 21 '19