Ask Your Question

why no such directory "sensor_msgs"

asked 2012-05-18 00:49:38 -0500

tan gravatar image

updated 2016-10-24 09:01:17 -0500

ngrennan gravatar image

Hi, everyone! I am using mit-ros-pkg "hand detection". I met a problem and then I checked the directory and files. I found that there should be a directory "sensor_msgs" while I do not I have. Help! Thank you!

edit retag flag offensive close merge delete


thank you very much. that works.

tan gravatar image tan  ( 2012-05-18 02:47:45 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-18 02:14:11 -0500

Lorenz gravatar image

Generally, you should always provide an exact error message and which ROS version you are using (see here for support guidelines).

I assume that the error is not because a missing directory but because you are missing the ros package sensor_msgs. To get it, install the stack common_msgs. If you are using ROS Fuerte, do

sudo apt-get install ros-fuerte-common-msgs

If you are using ROS Electric, do

sudo apt-get install ros-electric-common-msgs
edit flag offensive delete link more

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-05-18 00:49:38 -0500

Seen: 860 times

Last updated: May 18 '12