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

Compiling Bebop autonomy package

asked 2018-12-09 09:16:58 -0500

Ibrahim_aerospace gravatar image

Hi all ! I am using Bebop ardrone 2. I want to control it from another ROS package, in which I defined Subscribers for sending commands to defined topics. The name of my package is bebop_project But problem arises when I compile my package. Because there is a library named libbebop which is in included in the package of Bebop bebop_driver this packages is provided the manufacturer of Bebop2. When I compile this ready-made package of company, it gives no error. But when I include bebop_driver in my own package this gives an error. This should be noted that libbebop is library added by contributors of Bebop2. The error is given below.

-- +++ processing catkin package: 'bebop_project'
-- ==> add_subdirectory(bebop_project)
CMake Error at /home/ibrahim/catkin_ws/devel/share/bebop_driver/cmake/bebop_driverConfig.cmake:172

(find_package): Could not find a package configuration file provided by "libbebop" with any of the following names:

    libbebopConfig.cmake
    libbebop-config.cmake

  Add the installation prefix of "libbebop" to CMAKE_PREFIX_PATH or set
  "libbebop_DIR" to a directory containing one of the above files.  If
  "libbebop" provides a separate development package or SDK, be sure it

has been installed. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package) bebop_project/CMakeLists.txt:10 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ibrahim/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ibrahim/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:13870: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
edit retag flag offensive close merge delete

Comments

did you find any solution for this? i have the exactly the same issue

tiagostmec gravatar image tiagostmec  ( 2020-11-17 19:14:52 -0500 )edit

Yes see the following reply

Ibrahim_aerospace gravatar image Ibrahim_aerospace  ( 2020-11-23 03:49:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-11-23 03:48:47 -0500

Ibrahim_aerospace gravatar image

Don't need to add bebop_driver to XML file of your package rather run the bebop driver package separately and subscribe to its topics in your code. This will solve your problem.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-12-09 09:16:58 -0500

Seen: 178 times

Last updated: Nov 23 '20