I am on Chapter 2: TF Publish and Subscribe of the course and I am attempting Exercise 2.1
Unfortunately, when I run catkin_make
, I get the following error:
-- +++ processing catkin package: 'your_package'
-- ==> add_subdirectory(your_package)
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "turtle_tf_3d" with
any of the following names:
turtle_tf_3dConfig.cmake
turtle_tf_3d-config.cmake
Add the installation prefix of "turtle_tf_3d" to CMAKE_PREFIX_PATH or set
"turtle_tf_3d_DIR" to a directory containing one of the above files. If
"turtle_tf_3d" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
your_package/CMakeLists.txt:10 (find_package)
-- Could not find the required component 'turtle_tf_3d'. The following CMake error indicates that you either need to installthe package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "turtle_tf_3d" with
any of the following names:
turtle_tf_3dConfig.cmake
turtle_tf_3d-config.cmake
Add the installation prefix of "turtle_tf_3d" to CMAKE_PREFIX_PATH or set
"turtle_tf_3d_DIR" to a directory containing one of the above files. If
"turtle_tf_3d" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
your_package/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/user/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1102: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
I also tried finding the turtke_tf_3d
package but couldn’t locate it
user:~/catkin_ws$ roscd turtle_tf_3d
roscd: No such package/stack 'turtle_tf_3d'
I read this forum article and tried restarting my workspace, but that didn’t help either.
I am stuck and unable to continue learning now, please help.
I think my developer environment is totally messed up. I can’t even run the basic commands that I was able to run previously
user:~$ roslaunch turtle_tf_3d irobot_follow_turtle.launch
[irobot_follow_turtle.launch] is neither a launch file in package [turtle_tf_3d] nor is [turtle_tf_3d] a launch file name
The traceback for the exception was written to the log file
user:~$
user:~$ roscd turtle_tf_3d
roscd: No such package/stack 'turtle_tf_3d'
user:~$