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

problem in building package 3d_navigation

asked 2012-08-27 06:16:31 -0500

Sudhan gravatar image

updated 2014-01-28 17:13:28 -0500

ngrennan gravatar image

Hi,

I am using ros-diamondback with ubuntu version 10.10.

The package '3d_navigation' has dependency on stack 'pr2_mechanism'. While trying to built this stack, it needs 'urdf_interface' from stack 'robot_model'. There is no 'urdf_interface' available in that stack. Also, stack 'robot_model' is already built along with the installation of ros-diamondback without 'urdf_interface'.

Do anybody have any suggestions about this issue? Thanks in advance for the reply.

After solving this issue from the answer below and I tried to build the stack again. While doing so it results error in the file 'collisionmodel.cpp' from package 'octomap_collision_check'. The errors are:

" /home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp: In member function ‘void octomap::CollisionModel::setRoot(octomap::OctomapObject*)’:

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:53: error: ‘class planning_environment::CollisionModels’ has no member named ‘setCollisionMap’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp: In member function ‘void octomap::CollisionModel::updateVis()’:

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:80: error: ‘class planning_environment::CollisionModels’ has no member named ‘addStaticObject’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:84: error: ‘class planning_models::KinematicState’ has no member named ‘getRootTransform’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:91: error: ‘class planning_environment::CollisionModels’ has no member named ‘isKinematicStateInCollision’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:99: error: ‘class planning_environment::CollisionModels’ has no member named ‘getAllCollisionPointMarkers’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:91: warning: unused variable ‘coll’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp: In member function ‘void octomap::CollisionModel::publishMarkerVis(const octomap::OctomapObject&, unsigned int, ros::Publisher)’:

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:119: error: ‘class planning_environment::CollisionModels’ has no member named ‘getWorldFrameId’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp: In member function ‘void octomap::CollisionModel::publishPointcloudVis(const octomap::OctomapObject&, unsigned int, ros::Publisher)’:

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:161: error: ‘class planning_environment::CollisionModels’ has no member named ‘getWorldFrameId’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp: In member function ‘void octomap::CollisionModel::publishRobotStampedTransforms()’:

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:170: error: ‘class planning_environment::CollisionModels’ has no member named ‘getSceneTransformMap’

/home/ros-diamondback/ros_workspace/3d_navigation/octomap_collision_check/src/collision_model.cpp:181: error: ‘class planning_environment::CollisionModels’ has no member named ‘getWorldFrameId’ "

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2012-08-27 22:41:52 -0500

AHornung gravatar image

Why do you need to compile from source at all? Why not simply run "sudo apt-get install ros-diamondback-pr2-mechanism"? If you follow the 3d_navigation instructions you should already have that package installed.

If you checked out pr2_mechanism from source, did you get the correct branch according to http://www.ros.org/wiki/pr2_mechanism/Releases? That should be pr2_mechanism-1.4.4.

When you don't check out the right version it will be newer than your installed packages and depend on versions that you don't have installed (or can't even install). This is likely the case with urdf_interface that is only available since electric.

edit flag offensive delete link more

Comments

After installing all dependencies and I tried to build the stack again and got errors. For errors, refer to the above question (updated or edited).

Sudhan gravatar image Sudhan  ( 2012-08-28 03:02:58 -0500 )edit

You are using the wrong version of planning_environment / CollisionModel. Please exactly follow the instructions on http://www.ros.org/wiki/3d_navigation

AHornung gravatar image AHornung  ( 2012-08-28 03:06:03 -0500 )edit

Particularly the overlay of motion_planning_common needs to be in your ROS_PACKAGE_PATH / ros workspace. You seem to be using the wrong version.

AHornung gravatar image AHornung  ( 2012-08-28 03:08:03 -0500 )edit

As an alternative, you can use the code from the "Sushi workshop" to get everything with the newer versions in electric: https://kforge.ros.org/Sushi/trac

AHornung gravatar image AHornung  ( 2012-08-28 03:09:01 -0500 )edit

I installed motion_planning_commons, $ sudo apt-get install ros-diamondback-motion-planning-common. So, I think its new version of motion_planning_common and it lies in ROS_PACKAGE_PATH.

Sudhan gravatar image Sudhan  ( 2012-08-28 04:25:13 -0500 )edit

You do NOT need motion_planning_common as debian package but the newer version from the overlayed source checkout, which you then need to compile yourself as it is stated in the instructions.

AHornung gravatar image AHornung  ( 2012-08-28 04:29:03 -0500 )edit

Its working now. thank you.

Sudhan gravatar image Sudhan  ( 2012-08-28 21:58:17 -0500 )edit

Question Tools

Stats

Asked: 2012-08-27 06:16:31 -0500

Seen: 381 times

Last updated: Aug 28 '12