Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

can't build gazebo_ros2_control after building ros2_control

ros2_control is installed and built but gazebo_ros2_control fails:

:~/ws_ROS2/gazebo_ros2_control$ colcon build

Starting >>> gazebo_ros2_control
--- stderr: gazebo_ros2_control
CMake Error at CMakeLists.txt:6 (find_package):
  By not providing "Findcontroller_manager.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "controller_manager", but CMake did not find one.

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

    controller_managerConfig.cmake
    controller_manager-config.cmake

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

Failed   <<< gazebo_ros2_control [3.39s, exited with code 1]

Summary: 0 packages finished [3.52s]
  1 package failed: gazebo_ros2_control
  1 package had stderr output: gazebo_ros2_control
  1 package not processed

processor : x86_64

can't build gazebo_ros2_control after building ros2_control

ros2_control is installed and built but gazebo_ros2_control fails:

:~/ws_ROS2/gazebo_ros2_control$ colcon build

Starting >>> gazebo_ros2_control
--- stderr: gazebo_ros2_control
CMake Error at CMakeLists.txt:6 (find_package):
  By not providing "Findcontroller_manager.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "controller_manager", but CMake did not find one.

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

    controller_managerConfig.cmake
    controller_manager-config.cmake

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

Failed   <<< gazebo_ros2_control [3.39s, exited with code 1]

Summary: 0 packages finished [3.52s]
  1 package failed: gazebo_ros2_control
  1 package had stderr output: gazebo_ros2_control
  1 package not processed

processor : x86_64What else to try?

can't build gazebo_ros2_control after building ros2_control

ros2_control ros2_control is installed and built but gazebo_ros2_control gazebo_ros2_control fails:

:~/ws_ROS2/gazebo_ros2_control$ colcon build

Starting >>> gazebo_ros2_control
--- stderr: gazebo_ros2_control
CMake Error at CMakeLists.txt:6 (find_package):
  By not providing "Findcontroller_manager.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "controller_manager", but CMake did not find one.

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

    controller_managerConfig.cmake
    controller_manager-config.cmake

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

Failed   <<< gazebo_ros2_control [3.39s, exited with code 1]

Summary: 0 packages finished [3.52s]
  1 package failed: gazebo_ros2_control
  1 package had stderr output: gazebo_ros2_control
  1 package not processed

What else to try?