build tf listener with catkin_make_isolated

asked 2020-08-09 02:33:57 -0600

darthShana gravatar image

Hi all.. Im very new to ROS so apologies if this noob question..

I have followed the tutorials in http://wiki.ros.org/tf/Tutorials and successfully built and run the turtle sim examples with tf

Now im trying add a tf listener to my an existing which is built with catkin_make_isolated Now when i build it, i can see that my listener code gets built. However when i launch the node i get

ERROR: cannot launch node of type [learning_tf/turtle_tf_listener]: Cannot locate node of type [turtle_tf_listener] in package [learning_tf]. Make sure file exists in package path and permission is set to executable (chmod +x)

im running catkin_make_isolated --install --use-ninja -j2 the build looks good to me

==> Processing catkin package: 'learning_tf'
==> Creating build directory: 'build_isolated/learning_tf'
==> Building with env: '/home/khadas/catkin_ws/install_isolated/env.sh'
==> cmake /home/khadas/catkin_ws/src/learning_tf 
-DCATKIN_DEVEL_PREFIX=/home/khadas/catkin_ws/devel_isolated/learning_tf 
-DCMAKE_INSTALL_PREFIX=/home/khadas/catkin_ws/install_isolated -G Ninja in 
'/home/khadas/catkin_ws/build_isolated/learning_tf'
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/khadas/catkin_ws/devel_isolated/learning_tf
-- Using CMAKE_PREFIX_PATH: /home/khadas/catkin_ws/install_isolated;/opt/ros/melodic
-- This workspace overlays: /home/khadas/catkin_ws/install_isolated;/opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/khadas/catkin_ws/build_isolated/learning_tf/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.26
-- BUILD_SHARED_LIBS is on
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Configuring done
-- Generating done
-- Build files have been written to: /home/khadas/catkin_ws/build_isolated/learning_tf
==> ninja -j2 in '/home/khadas/catkin_ws/build_isolated/learning_tf'
[2/2] Linking CXX executable /home/khadas/catkin_ws/devel_isolated/learning_tf/lib/learning_tf/turtle_tf_listener
==> ninja install in '/home/khadas/catkin_ws/build_isolated/learning_tf'
[0/1] Install the project...
-- Install configuration: ""
-- Installing: /home/khadas/catkin_ws/install_isolated/_setup_util.py
-- Installing: /home/khadas/catkin_ws/install_isolated/env.sh
-- Installing: /home/khadas/catkin_ws/install_isolated/setup.bash
-- Installing: /home ...
(more)
edit retag flag offensive close merge delete