Robotics StackExchange | Archived questions

How to install sensor_msgs on Raspberry Pi

Hi guys,

In need to access to my ROBOPEAK laser scanner. When I want to use CatkinMake there is an error as below: "Could not find a package configuration file provided by "sensormsgs" with any of the following names:

sensor_msgsConfig.cmake
sensor_msgs-config.cmake

I tried to install 'Sensor_msgs' package on my Raspberry Pi but I could not. So please give me a tip to do that. regards

Asked by Saeid on 2015-07-15 10:48:45 UTC

Comments

Answers

We just ran into the same problem. From what we found, you need to use the rosisntall_generator and wstool commands. Specifically:

rosinstall_generator sensor_msgs --rosdistro indigo --deps -wet-only --tar > indigo-sensor_msgs-wet.rosinstall
wstool init src indigo-sensor_msgs-wet.rosinstall

This worked for us using indigo and for installing the image_transport and cv_bridge packages as well. As a note, we had to delete the previous .rosinstall file in the src directory for these commands to work. Don't know if there's a better solution.

Asked by ATXCyborg on 2015-11-13 12:47:53 UTC

Comments

I do appreciate it, works!

Asked by Saeid on 2015-11-24 09:29:36 UTC