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

Error building iris_lama_ros - Could not find a package configuration file provided by "tf_conversions"

asked 2020-03-20 08:58:51 -0500

rosdevil7 gravatar image

updated 2020-03-20 09:15:33 -0500

gvdhoorn gravatar image

Could not find a package configuration file provided by "tf_conversions" with any of the following names:

tf_conversionsConfig.cmake
tf_conversions-config.cmake

Add the installation prefix of "tf_conversions" to CMAKE_PREFIX_PATH or set "tf_conversions_DIR" to a directory containing one of the above files. If "tf_conversions" provides a separate development package or SDK, be sure it has been installed.

CMakeLists.txt -

cmake_minimum_required(VERSION 3.5)
project(iris_lama_ros)

# Default to release mode.
if (NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Release)
endif()

find_package(Eigen3 REQUIRED NO_MODULE)
# find_package(iris_lama REQUIRED)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(catkin REQUIRED COMPONENTS
    tf
    roscpp
    rosbag
    nav_msgs
    sensor_msgs
    #eigen_conversions
    tf_conversions
    geometry_msgs
    message_filters
    visualization_msgs
    rosbag_storage
    iris_lama
)

catkin_package()

###########
## Build ##
###########

## Specify additional locations of header files
include_directories(include ${catkin_INCLUDE_DIRS})
add_subdirectory(src)

#############
## Install ##
#############

## Mark cpp header files for installation
#install(DIRECTORY include/rtk/ros/
#    DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
#    FILES_MATCHING PATTERN "*.h"
#    PATTERN ".svn" EXCLUDE
#)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-03-20 11:31:29 -0500

For any future readers, the fix, as mentioned on Discourse here, is to simply install the tf_conversions package, e.g. for melodic:

$ sudo apt install ros-melodic-tf-conversions

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-03-20 08:54:24 -0500

Seen: 2,712 times

Last updated: Mar 20 '20