ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

problem with dependency turtlebot_node

asked 2014-01-28 06:33:57 -0500

albarranco gravatar image

updated 2014-01-28 06:49:49 -0500

bchr gravatar image

Hello, I'm working with Groovy on Turtlebot (create base).

How could I add the dependency turtlebot_node to my package? I have done the following:

CMakeLists.txt of my package:

cmake_minimum_required(VERSION 2.8.3)   

## Find catkin macros and libraries
## if COMPONENTS list like find_package (catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs turtlebot_node)

Package.xml of my package :


However when I execute catkin_make in my catkin_ws,I have the following error:

turtlebot@turtlebot:~$ cd ~/catkin_ws/

turtlebot@turtlebot:~/catkin_ws$ catkin_make

Base path: /home/turtlebot/catkin_ws

Source space: /home/turtlebot/catkin_ws/src

Build space: /home/turtlebot/catkin_ws/build

Devel space: /home/turtlebot/catkin_ws/devel

Install space: /home/turtlebot/catkin_ws/install

#### #### Running command: "make cmake_check_build_system" in "/home/turtlebot/catkin_ws /build" ####

-- Using CATKIN_DEVEL_PREFIX: /home/turtlebot/catkin_ws/devel

-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy

-- This workspace overlays: /opt/ros/groovy

-- Found gtest sources under '/usr/src/gtest': gtests will be built

-- Using CATKIN_TEST_RESULTS_DIR: /home/turtlebot/catkin_ws/build/test_results

-- catkin 0.5.65


-- ~~ traversing 1 packages in topological order: -- ~~ - beginner_tutorials

-- +++ processing catkin package: 'beginner_tutorials'

-- ==> add_subdirectory(beginner_tutorials)

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):

Could not find a configuration file for package turtlebot_node.

Set turtlebot_node_DIR to the directory containing a CMake configuration file for turtlebot_node. The file will have one of the following names:


Call Stack (most recent call first): prueba/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred! make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

Can anyone help me please? I have no idea what is wrong with it.

I would appreciate any feedback.

Thanks in advance.

edit retag flag offensive close merge delete


What are you trying to do exactly? I think that turtlebot_node is no longer used with groovy.

bchr gravatar image bchr  ( 2014-01-28 07:33:23 -0500 )edit

okk,thanks. I only want to probe a file that makes that turtlebot turn on groovy but I don't know it (the file is for electric and subcribes to turtlebot_node)

albarranco gravatar image albarranco  ( 2014-01-28 07:51:10 -0500 )edit

Try to check this: (choose groovy).

bchr gravatar image bchr  ( 2014-01-28 07:56:48 -0500 )edit

ok,thank you very much for everything

albarranco gravatar image albarranco  ( 2014-01-28 08:01:11 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-28 06:47:15 -0500

bchr gravatar image

updated 2014-01-28 07:56:26 -0500

It seems that catkin can't find turtlebot_node in your ROS_PACKAGE_PATH. In theory, you just need to make sure that turtlebot_node is installed (e.g. rospack list-names | grep turtlebot), and that your ROS_PACKAGE_PATH contains the path to turtlebot_node's install directory. You can check the current value of ROS_PACKAGE_PATH by typing:


To update it, just type:


However, in your case, it seems that turtlebot_node was removed with Groovy, so you should not even try to depend on it. For more information on turtlebot (which seems to be what you actually need), check the official documentation here and there.

Here is a similar problem.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-01-28 06:33:57 -0500

Seen: 548 times

Last updated: Jan 28 '14