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

build error cannot find GetStateValidity.h

asked 2011-09-22 00:01:04 -0500

Wouter gravatar image

Hi,

I am trying to perform the tutorial that checks the collision for a given robot state. However, once I try to build the arm_navigation_tutorials package I receive the following build error:

/home/wouter/ros/workspace/arm_navigation_tutorials/src/get_state_validity.cpp:2:56: fatal error: planning_environment_msgs/GetStateValidity.h: No such file or directory

I downloaded the debian package ros-diamondback-motion-planning-common that includes the 'planning_environment_msgs' package and added opt/ros/diamondback/stacks to my ROS_PACKAGE_PATH.

My ROS_PACKAGE_PATH thus includes my workspace, opt/ros/diamondback/stacks and opt/ros/electric/stacks because I am using ROS electric on Ubuntu 11.04. So rosmake should be able to find GetStateVAlidity.h.

Do you have any idea why rosmake cannot find GetStateValidity.h?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2011-09-22 03:28:01 -0500

Paul Vernaza gravatar image

That message definition, along with many others, were moved (in electric) to arm_navigation_msgs, as described here: http://www.ros.org/wiki/arm_navigation. That tutorial hasn't been updated to electric. It may or may not work if you replace that header location along with changing "environment_server_right_arm" to "planning_scene_validity_server". However, you'll also have to use the planning description configuration wizard to build the necessary launch files, and then launch them.

Alternatively, you could use diamondback. You probably shouldn't be including both /opt/ros/diamondback/stacks and /opt/ros/electric/stacks in your ROS_PACKAGE_PATH--you can't generally mix and match packages from different releases.

edit flag offensive delete link more
0

answered 2011-09-22 18:29:09 -0500

Wouter gravatar image

Thanks Paul, your suggestions work. I changed planning_"environment_msgs" into "arm_navigation_msgs" and furthermore changed "environment_server_right_arm" into "planning_scene_validity_server". AFter these changes everything built without errors.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-09-22 00:01:04 -0500

Seen: 208 times

Last updated: Sep 22 '11