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

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)   
project(beginner_tutorials)

## 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 :

<build_depend>turtlebot_node</build_depend>
<run_depend>turtlebot_node</run_depend>

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

-- BUILD_SHARED_LIBS is on

-- ~~ 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:

turtlebot_nodeConfig.cmake
turtlebot_node-config.cmake

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

Comments

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: http://wiki.ros.org/Robots/TurtleBot (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
0

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:

echo $ROS_PACKAGE_PATH

To update it, just type:

export ROS_PACKAGE_PATH=/path/to/dir:$ROS_PACKAGE_PATH

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

Stats

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

Seen: 563 times

Last updated: Jan 28 '14