ros-controls / ros_control

Generic and simple controls framework for ROS
http://wiki.ros.org/ros_control
BSD 3-Clause "New" or "Revised" License
470 stars 307 forks source link

Unable to locate package ros-kinetic-controller-manager #447

Closed Moynstain closed 4 years ago

Moynstain commented 4 years ago

Hi all~I met some errors in installing ros-control

[System]: Ubuntu 16.04 64bit ROS Kinetic Interbotix ViperX 300

[Description]: I've already git codes and when I do catkin_makethe Interbotix ViperX 300 ROS package environment, it failed.

moynstain@moynstain-MS-7B54:~/interbotix_ws$ catkin_make

Base path: /home/moynstain/interbotix_ws
Source space: /home/moynstain/interbotix_ws/src
Build space: /home/moynstain/interbotix_ws/build
Devel space: /home/moynstain/interbotix_ws/devel
Install space: /home/moynstain/interbotix_ws/install
####
#### Running command: "cmake /home/moynstain/interbotix_ws/src -DCATKIN_DEVEL_PREFIX=/home/moynstain/interbotix_ws/devel -DCMAKE_INSTALL_PREFIX=/home/moynstain/interbotix_ws/install -G Unix Makefiles" in "/home/moynstain/interbotix_ws/build"
####

-- Using CATKIN_DEVEL_PREFIX: /home/moynstain/interbotix_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/moynstain/catkin_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/moynstain/catkin_ws/devel;/opt/ros/kinetic
-- Found PythonInterp: /home/moynstain/anaconda3/bin/python2 (found suitable version "2.7.17", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /home/moynstain/anaconda3/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/moynstain/interbotix_ws/build/test_results
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found PythonInterp: /home/moynstain/anaconda3/bin/python2 (found version "2.7.17")
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.20
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 10 packages in topological order:
-- ~~  - interbotix_descriptions
-- ~~  - interbotix_gazebo
-- ~~  - interbotix_moveit
-- ~~  - interbotix_moveit_interface
-- ~~  - interbotix_sdk
-- ~~  - interbotix_diagnostic_tool
-- ~~  - interbotix_joy_control
-- ~~  - interbotix_pid_control
-- ~~  - interbotix_puppet_control
-- ~~  - interbotix_turret_control
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'interbotix_descriptions'
-- ==> add_subdirectory(interbotix_ros_arms/interbotix_descriptions)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'interbotix_gazebo'
-- ==> add_subdirectory(interbotix_ros_arms/interbotix_gazebo)

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  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.
Call Stack (most recent call first):

interbotix_ros_arms/interbotix_gazebo/CMakeLists.txt:7 (find_package)

-- Could not find the required component 'controller_manager'. 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/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  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.

Call Stack (most recent call first):
  interbotix_ros_arms/interbotix_gazebo/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/moynstain/interbotix_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/moynstain/interbotix_ws/build/CMakeFiles/CMakeError.log".

While I've tried sudo apt-get install ros-kinetic-ros-control or sudo apt-get install ros-kinetic-ros-controllers, these commands all shows

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-kinetic-ros-control
E: Unable to locate package ros-kinetic-ros-controllers

Really neeeeed someone's help, plllllllllllllllz :)

bmagyar commented 4 years ago

The issue tracker in github are for code or runtime related issues, not for installation. It seems you don't have a complete ROS Kinetic installation, for that please follow http://wiki.ros.org/kinetic/Installation/Ubuntu

For any further enquiries, please post them on ROS Answers