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

mapping_msgs/CollisionObject.h: No such file or directory

asked 2012-11-06 08:33:55 -0500

ncr7 gravatar image

updated 2012-11-06 19:55:17 -0500

Eric Perko gravatar image

I'm trying to add an object to my RVIZ scene, from this tutorial.

Would anyone know why using,

#include <mapping_msgs/CollisionObject.h>

would not be available?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-06 18:49:21 -0500

updated 2012-11-06 18:49:40 -0500

if you are using Fuerte, it would be

#include "planning_environment/models/collision_models.h"
edit flag offensive delete link more


That should probably be included via <> and not "", since it isn't really a local header file and should be in a path specified with -I .

Eric Perko gravatar image Eric Perko  ( 2012-11-06 19:54:53 -0500 )edit

yes. it's my fault. it should be <>. you only need to add <depend package="planning_environment"/> in the manifest and ros will do the path finding thing for you.

yangyangcv gravatar image yangyangcv  ( 2012-11-06 20:48:29 -0500 )edit

Question Tools


Asked: 2012-11-06 08:33:55 -0500

Seen: 489 times

Last updated: Nov 06 '12