non-existent package 'ros_comm' [closed]
Hi all,
I've installed ROS Groovy via the Ubuntu repository (12.04) and now I try to run the pr2_object_manipulation example but get an issue during compiling with rosmake, it stops on error "'ecto_ros' depends on non-existent package 'ros_comm'".
However ros_comm seems to be a core component of ROS and it seems to be actually installed. See the commands I ran below trying to understand what's going on.
rosetta@dell:~/catkin_ws$ rosmake pr2_object_manipulation
[...] Plenty of packages successfully compiled [...]
{-------------------------------------------------------------------------------
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/groovy/share/ros/core/rosbuild/rostoolchain.cmake ..
-- Action Files:UserCommand.action
-- Generating Messages for ActionUserCommand.action
-- Using CATKIN_DEVEL_PREFIX: /home/rosetta/catkin_ws/src/pr2_object_manipulation/applications/pr2_interactive_object_detection/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy
-- This workspace overlays: /opt/ros/groovy
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/rosetta/catkin_ws/src/pr2_object_manipulation/applications/pr2_interactive_object_detection/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.77
-- /home/rosetta/catkin_ws/src/pr2_object_manipulation/applications/pr2_interactive_object_detection/msg/UserCommandAction.msg
[rosbuild] Building package pr2_interactive_object_detection
Failed to invoke /opt/ros/groovy/bin/rospack deps-manifests pr2_interactive_object_detection
[rospack] Error: package/stack 'ecto_ros' depends on non-existent package 'ros_comm' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'
CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:129 (message):
Failed to invoke rospack to get compile flags for package
'pr2_interactive_object_detection'. Look above for errors from rospack
itself. Aborting. Please fix the broken dependency!
Call Stack (most recent call first):
/opt/ros/groovy/share/ros/core/rosbuild/public.cmake:203 (rosbuild_invoke_rospack)
CMakeLists.txt:20 (rosbuild_init)
-- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package pr2_interactive_object_detection written to:
[...]
rosetta@dell:~/catkin_ws$ rospack find ros_comm
[rospack] Error: stack/package ros_comm not found
rosetta@dell:~/catkin_ws$ roscd ros_comm
rosetta@dell:/opt/ros/groovy/share/ros_comm$ # cd is successful, ros_comm exists!
rosetta@dell:/opt/ros/groovy/share/ros_comm$ echo $ROS_PACKAGE_PATH
/opt/ros/groovy/share:/opt/ros/groovy/stacks:/home/rosetta/catkin_ws/src/pr2_object_manipulation:/opt/ros/groovy/share
rosetta@dell:~/opt/ros/groovy/share/ros_comm$ rosdep install ros_comm
#All required rosdeps installed successfully # I could not install it again since it's already installed
So what's going on?
Thank you for your help.
Did you try rospack profile?
Have You tried `rosdep update`, as suggested in error message? :)
Yes I did try. Without any change unfortunately :( Also, I compiled and installed ecto_ros from sources with success. But I don't know how to prevent rosmake continuing compiling ecto_ros, because I still have the same error when I compile the pr2_etc package