Can't create catkin workspace, no crazyflie driver

Post here to get support
Post Reply
faskrobo
Beginner
Posts: 3
Joined: Thu Aug 05, 2021 4:19 pm

Can't create catkin workspace, no crazyflie driver

Post by faskrobo »

I installed crazyswarm and I am trying to create a catkin workspace, but I get this output:

Code: Select all

Base path: /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws
Source space: /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/src
Build space: /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/build
Devel space: /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/devel
Install space: /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/install
####
#### Running command: "cmake /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/src -DCATKIN_DEVEL_PREFIX=/home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/devel -DCMAKE_INSTALL_PREFIX=/home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/install -G Unix Makefiles" in "/home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/bitcraze/Desktop/projects/cargo_pocket_ros_ws/devel;/opt/ros/noetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/bitcraze/projects/cargo_pocket_ros_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - kernel_mapper_ros
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'kernel_mapper_ros'
-- ==> add_subdirectory(kernel_mapper_ros)
-- Could NOT find crazyflie_driver (missing: crazyflie_driver_DIR)
-- Could not find the required component 'crazyflie_driver'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "crazyflie_driver"
  with any of the following names:

    crazyflie_driverConfig.cmake
    crazyflie_driver-config.cmake

  Add the installation prefix of "crazyflie_driver" to CMAKE_PREFIX_PATH or
  set "crazyflie_driver_DIR" to a directory containing one of the above
  files.  If "crazyflie_driver" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  kernel_mapper_ros/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/bitcraze/projects/cargo_pocket_ros_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/bitcraze/projects/cargo_pocket_ros_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: Can't create catkin workspace, no crazyflie driver

Post by whoenig »

Crazyswarm comes with a ROS workspace (and is not just a ROS package). Please follow the official installation instructions using build.sh. If you run into issues, you can start a new discussion at https://github.com/USC-ACTLab/crazyswarm/discussions.
faskrobo
Beginner
Posts: 3
Joined: Thu Aug 05, 2021 4:19 pm

Re: Can't create catkin workspace, no crazyflie driver

Post by faskrobo »

I followed the instructions here already: https://crazyswarm.readthedocs.io/en/la ... ation.html

The only difference is that gcc-arm-embedded is no longer available. I have arm-none-eabi-gcc though.
jonasdn
Expert
Posts: 132
Joined: Mon Mar 01, 2021 3:13 pm

Re: Can't create catkin workspace, no crazyflie driver

Post by jonasdn »

Hi!

Since Crazyswarm is not a Bitcraze project, you might get better result by following whoenig's advice to continue at https://github.com/USC-ACTLab/crazyswarm/discussions!
Post Reply