ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

mapping_msgs/CollisionObject.h: No such file or directory

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

ncr7 gravatar image

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

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 -0600

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

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 -0600 )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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 413 times

Last updated: Nov 06 '12