can't build gazebo_ros2_control after building ros2_control

asked 2021-04-29 06:58:35 -0600

user21307 gravatar image

updated 2021-04-29 07:02:25 -0600

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:


  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?

edit retag flag offensive close merge delete


Which packages do you have installed in your system or in your workspace? controller-manager should appear in a colcon list on the workspace or you will need to install it as a binary package.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2021-05-03 10:27:25 -0600 )edit