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

Orocos bfl for indigo,

asked 2015-02-16 10:18:44 -0600

Porti77 gravatar image

updated 2015-02-24 07:35:39 -0600


I've tried including BFL into catkin using both

--   package 'orocos-bfl' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal)
  navigation-indigo-devel/robot_pose_ekf/CMakeLists.txt:6 (pkg_check_modules)

Any ideas?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2015-02-24 07:33:16 -0600

I just catkinized a package that I had been using a few years back, and I simply put bfl as a package and build dependency in my package.xml, and then I followed the directions on Using BFL in ROS with Catkin Builds and everything compiled successfully.

To really help you debug your error, we'd need to see your package.xml and CMakeLists.txt. Although based on the experience I just described, and the first line of your error, it seems that something is referring to orocos-bfl instead of bfl.

edit flag offensive delete link more


Hi there, I'm not sure where to add the lines in the second section of the link you provided .To the CMakeLists.txt who uses orocos-bfl? Or to orocos-bfl's CMakeLists.txt? Or somewhere else? Thank you.

zurish gravatar image zurish  ( 2015-03-12 15:13:09 -0600 )edit

That would be the CMakeLists.txt in your ROS package.

jarvisschultz gravatar image jarvisschultz  ( 2015-03-12 19:03:46 -0600 )edit

answered 2015-03-13 01:42:57 -0600

fergs gravatar image

Are you just trying to compile robot_pose_ekf? If so, try installing ros-indigo-bfl (sudo apt-get install ros-indigo-bfl) as you might be simply missing the dependency.

If you're trying to build your own package against BFL, check out the CMake in robot_pose_ekf: as it definitely builds against BFL in indigo, and as far as I know, it is the only released package that depends on BFL.

edit flag offensive delete link more


I'm trying to install robot_pose_ekf to Mac OS. I can just clone it from gitbut and catkin_make it. Please see my question at orocos-bfl. Thank you.

zurish gravatar image zurish  ( 2015-03-13 11:25:24 -0600 )edit

answered 2015-03-12 22:58:19 -0600

zurish gravatar image

updated 2015-03-12 23:35:49 -0600

Hi jarvisschultz! Please forgive my ignorance. I'm new to ROS. Here is how I understand this:

   1 find_package(PkgConfig)
   3 pkg_check_modules(BFL REQUIRED bfl)
   5 message("BFL include dirs:" ${BFL_INCLUDE_DIRS})
   6 message("BFL library dirs:" ${BFL_LIBRARY_DIRS})
   8 include_directories(${BFL_INCLUDE_DIRS})
   9 link_directories(${BFL_LIBRARY_DIRS})
  11 [..]
  13 # for every target using BFL:
  14 target_link_libraries(your_executable ${BFL_LIBRARIES})

I just insert the above code from line.1 to line.9 to the top-level CMakeLists.txt in src folder in which all of ROS packages reside. And the line.14 should be in the CMakeLists.txt of the specific package which uses bfl(which is robot_pose_ekf in my case). Is this right? And my question is I'm not sure in what detailed line in the txt file(s) should I insert them. Thank you.

edit flag offensive delete link more



Please update your original question with this. Use answers only to actually answer the question (this is not a forum).

Also: if by top-level CMakeLists.txt you mean the one at /path/to/catkin_ws/src/ then you should not do that. Add everything to the CMakeLists.txt of your own package.

gvdhoorn gravatar image gvdhoorn  ( 2015-03-13 03:01:32 -0600 )edit


Yes , I asked as a question at orocos-bfl. Sorry about that. I tried to add everything to the CMakeLists.txt of the package I want to install(robot_pose_ekf), but it does not work. Thank you.

zurish gravatar image zurish  ( 2015-03-13 11:17:29 -0600 )edit

Question Tools


Asked: 2015-02-16 10:18:44 -0600

Seen: 2,550 times

Last updated: Mar 13 '15