Quantcast
Viewing all articles
Browse latest Browse all 7

Beginner Tutorial 11- unable to create talker/listener node c++

Hi, i am running ROS on an Ubuntu-VM with groovy and came across following problem. I just started using ROS and am trying to learn the features by doing the tutorial. (in other words: i am a newbie, please bare with me) However i am not able to create the executable files for the talker.cpp and listener.cpp as described in tutorial 11. I followed every step as described and ran catkin_make but when i try to run the node with: $rosrun beginner_tutorials talker i only get: [rosrun] Couldn't find executable named talker below /home/faps/catkin_ws/src/beginner_tutorials i tried to compile the package with rosmake and it successfully builds 23 packages but not the talker.cpp or listener.cpp. Here is the complete response: faps@VMFAPSGROOVY:~/catkin_ws/src/beginner_tutorials$ rosmake [ rosmake ] rosmake starting... [ rosmake ] No package specified. Building ['beginner_tutorials'] [ rosmake ] Packages requested are: ['beginner_tutorials'] [ rosmake ] Logging to directory /home/faps/.ros/rosmake/rosmake_output-20130328-122310 [ rosmake ] Expanded args ['beginner_tutorials'] to: ['beginner_tutorials'] [rosmake-0] Starting >>> catkin [ make ] [rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin No Makefile in package catkin [rosmake-0] Starting >>> cpp_common [ make ] [rosmake-0] Finished <<< cpp_common ROS_NOBUILD in package cpp_common No Makefile in package cpp_common [rosmake-0] Starting >>> genmsg [ make ] [rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg No Makefile in package genmsg [rosmake-0] Starting >>> gencpp [ make ] [rosmake-0] Finished <<< gencpp ROS_NOBUILD in package gencpp No Makefile in package gencpp [rosmake-0] Starting >>> genlisp [ make ] [rosmake-0] Finished <<< genlisp ROS_NOBUILD in package genlisp No Makefile in package genlisp [rosmake-0] Starting >>> genpy [ make ] [rosmake-0] Finished <<< genpy ROS_NOBUILD in package genpy No Makefile in package genpy [rosmake-0] Starting >>> message_generation [ make ] [rosmake-0] Finished <<< message_generation ROS_NOBUILD in package message_generation No Makefile in package message_generation [rosmake-0] Starting >>> rostime [ make ] [rosmake-2] Starting >>> rospack [ make ] [rosmake-2] Finished <<< rospack ROS_NOBUILD in package rospack No Makefile in package rospack [rosmake-2] Starting >>> roslib [ make ] [rosmake-1] Starting >>> roslang [ make ] [rosmake-3] Starting >>> xmlrpcpp [ make ] [rosmake-1] Finished <<< roslang ROS_NOBUILD in package roslang No Makefile in package roslang [rosmake-0] Finished <<< rostime ROS_NOBUILD in package rostime No Makefile in package rostime [rosmake-0] Starting >>> roscpp_traits [ make ] [rosmake-1] Starting >>> rosgraph [ make ] [rosmake-0] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits No Makefile in package roscpp_traits [rosmake-0] Starting >>> roscpp_serialization [ make ] [rosmake-1] Finished <<< rosgraph ROS_NOBUILD in package rosgraph No Makefile in package rosgraph [rosmake-2] Finished <<< roslib ROS_NOBUILD in package roslib No Makefile in package roslib [rosmake-3] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp No Makefile in package xmlrpcpp [rosmake-2] Starting >>> rosunit [ make ] [rosmake-0] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization No Makefile in package roscpp_serialization [rosmake-0] Starting >>> message_runtime [ make ] [rosmake-2] Finished <<< rosunit ROS_NOBUILD in package rosunit No Makefile in package rosunit [rosmake-2] Starting >>> rosconsole [ make ] [rosmake-0] Finished <<< message_runtime ROS_NOBUILD in package message_runtime No Makefile in package message_runtime [rosmake-2] Finished <<< rosconsole ROS_NOBUILD in package rosconsole No Makefile in package rosconsole [rosmake-0] Starting >>> std_msgs [ make ] [rosmake-0] Finished <<< std_msgs ROS_NOBUILD in package std_msgs No Makefile in package std_msgs [rosmake-0] Starting >>> rosgraph_msgs [ make ] [rosmake-0] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs No Makefile in package rosgraph_msgs [rosmake-0] Starting >>> roscpp [ make ] [rosmake-1] Starting >>> rospy [ make ] [rosmake-1] Finished <<< rospy ROS_NOBUILD in package rospy No Makefile in package rospy [rosmake-0] Finished <<< roscpp ROS_NOBUILD in package roscpp No Makefile in package roscpp [rosmake-0] Starting >>> beginner_tutorials [ make ] [rosmake-0] Finished <<< beginner_tutorials ROS_NOBUILD in package beginner_tutorials No Makefile in package beginner_tutorials [ rosmake ] Results: [ rosmake ] Built 23 packages with 0 failures. [ rosmake ] Summary output to directory [ rosmake ] /home/faps/.ros/rosmake/rosmake_output-20130328-122310 I dont want to post the CMakelists.txt, talker.cpp and listener.cpp since i just copied the code from the tutorial. I also tried to compile and run the python version of the publisher/listener and it works without any problems. Help would be highly appreciated,since i want to use c++ files later on.

Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>