Problem installing common_msgs package

asked 2014-03-02 13:33:33 -0600

ljk gravatar image

updated 2016-10-24 08:36:00 -0600

ngrennan gravatar image

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 ROS_PACKAGE_PATH: /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

edit retag flag offensive close merge delete



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

brice rebsamen gravatar image brice rebsamen  ( 2014-03-03 15:27:41 -0600 )edit

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.

ljk gravatar image ljk  ( 2014-03-03 15:48:24 -0600 )edit