Robotics StackExchange | Archived questions

Problem installing common_msgs package

Hi my friend,

I am new to ros and want to install ros package: common_msg, I used command sudo apt-get install ros-groovy-common-msgs

it says it has been installed but when i use rospack find common_msgs, it says it cannot find here is my ROSPACKAGEPATH: /opt/ros/groovy/share:/opt/ros/groovy/stacks

I check both share and stacks folder, common_msgs is in share but not in stacks folder. Could someone help me to resolve this issue?

Thanks a lot in advance! Juekun

Asked by ljk on 2014-03-02 14:33:33 UTC

Comments

well this is odd. Are you sure you sourced /opt/ros/groovy/setup.bash before calling rospack? Also I have noticed that the roscd, rospack, etc. tools sometime takes time to find a package. Maybe they update their index periodically and you have to wait a bit longer for this to happen...

Asked by brice rebsamen on 2014-03-03 16:27:41 UTC

Thanks a lot for your comment! I think i found where the problem is: common_msgs is a meta_package hence it does not have source file in the stacks folder but its children packages do contain headfile in include folder.

Asked by ljk on 2014-03-03 16:48:24 UTC

Answers