Ask Your Question
0

Using Orocos-BFL in ROS [closed]

asked 2014-07-21 09:17:31 -0500

DevonW gravatar image

Hi,

I've tried including BFL into catkin using both

find_package(BFL REQUIRED) and find_package(orocos_bfl) but ROS is unable to find them. I've even tried find_package(bfl REQUIRED) without success.

Any ideas? bfl, orocos-bfl are both installed on my system and I can roscd to bfl.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by DevonW
close date 2014-07-22 05:14:30.251108

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-07-21 09:41:36 -0500

Ugo gravatar image

Hi,

I had to do something like that for compiling with bfl:

find_package(PkgConfig)
pkg_check_modules(BFL REQUIRED bfl)
include_directories(${BFL_INCLUDE_DIRS})
message("BFL include dirs:" ${BFL_INCLUDE_DIRS})
message("BFL library dirs:" ${BFL_LIBRARY_DIRS})
link_directories(${BFL_LIBRARY_DIRS})

Then don't forget the:

target_link_libraries(your_executable
  ${BFL_LIBRARIES}
)

Hope this helps.

edit flag offensive delete link more

Comments

Hi there, it works, thank you very much. I have also edited the documentation to reflect usage for others. http://wiki.ros.org/bfl

DevonW gravatar image DevonW  ( 2014-07-21 10:49:56 -0500 )edit

Great, can you accept the answer as correct then to close the thread?

Ugo gravatar image Ugo  ( 2014-07-22 01:26:42 -0500 )edit

Hi guys, I don't know where to add above lines. To the CMakeLists.txt who uses orocos-bfl? Or to orocos-bfl's CMakeLists.txt? Thank you.

zurish gravatar image zurish  ( 2015-03-12 14:29:54 -0500 )edit

Hi. You should add it to the CMakeLists.txt who uses orocos-bfl. Cheers

Ugo gravatar image Ugo  ( 2015-04-22 00:17:43 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-07-21 09:17:31 -0500

Seen: 1,218 times

Last updated: Jul 21 '14