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

ompl GetMotionPlan

asked 2012-11-06 04:30:38 -0500

Sanxano gravatar image

updated 2012-11-06 04:47:43 -0500

Lorenz gravatar image

Hi everyone,

I'm working whit ompl motion plan service, in: http://www.ros.org/wiki/ompl_ros_interface/Tutorials/Specifying%20pose%20goals

when I do:

 ros::ServiceClient service_client = nh.serviceClient<motion_planning_msgs::GetMotionPlan>("/ompl_planning/plan_kinematic_path");
  service_client.call(request,response);
  if(response.error_code.val != response.error_code.SUCCESS)
  {
    ROS_ERROR("Motion planning failed");
  }

Always obtain: response.error_code.val != response.error_code.SUCCESS === FALSE

And if you see the planning log, you can see:

[ERROR] [1352218229.018731999, 4531.226000000]: client wants service /ompl_planning/plan_kinematic_path to have md5sum dc1bde6dccfb9e1ff4f7ed84e081f964, but it has e7f04013c167d0703692fec8a86b22ef. Dropping connection.

What this means? what is the problem??

Regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-11-13 03:59:56 -0500

Sanxano gravatar image

The problem is ros versions.

In electric does't exist motion_planning_msgs package. All necesary classes are in arm_navigation_msgs

motion_planning_msgs::GetMotionPlan --change--> arm_navigation_msgs::GetMotionPlan.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-06 04:30:38 -0500

Seen: 300 times

Last updated: Nov 13 '12