ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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