Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 417

Ros_control cannot be found (Kinetic)

$
0
0
Hello, I am using ROS Kinetic and today I tried to create a package (labrob_control) to implement the necessary controllers for my actuators with the following dependencies: ros_control, ros_controllers. I also checked at the /opt/ros/kinetic/share and I can see the 2 packages installed there. But when I try to catkin_make my project I get the following warnings and errors: Base path: /home/legged/4wheel_robot Source space: /home/legged/4wheel_robot/src Build space: /home/legged/4wheel_robot/build Devel space: /home/legged/4wheel_robot/devel Install space: /home/legged/4wheel_robot/install #### #### Running command: "make cmake_check_build_system" in "/home/legged/4wheel_robot/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/legged/4wheel_robot/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic -- This workspace overlays: /opt/ros/kinetic -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/legged/4wheel_robot/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.1 -- BUILD_SHARED_LIBS is on WARNING: package "labrob_control" should not depend on metapackage "ros_control" but on its packages instead WARNING: package "labrob_control" should not depend on metapackage "ros_controllers" but on its packages instead -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 3 packages in topological order: -- ~~ - labrob_control -- ~~ - labrob_description -- ~~ - labrob_gazebo -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'labrob_control' -- ==> add_subdirectory(labrob/labrob_control) CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "ros_control" with any of the following names: ros_controlConfig.cmake ros_control-config.cmake Add the installation prefix of "ros_control" to CMAKE_PREFIX_PATH or set "ros_control_DIR" to a directory containing one of the above files. If "ros_control" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): labrob/labrob_control/CMakeLists.txt:7 (find_package) -- Could not find the required component 'ros_control'. 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 "ros_control" with any of the following names: ros_controlConfig.cmake ros_control-config.cmake Add the installation prefix of "ros_control" to CMAKE_PREFIX_PATH or set "ros_control_DIR" to a directory containing one of the above files. If "ros_control" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): labrob/labrob_control/CMakeLists.txt:7 (find_package) -- Configuring incomplete, errors occurred! See also "/home/legged/4wheel_robot/build/CMakeFiles/CMakeOutput.log". See also "/home/legged/4wheel_robot/build/CMakeFiles/CMakeError.log". Makefile:1704: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed Maybe it's important to notice that the package labrob_control is under a metapackage called labrob, along with two other packages: labrob_description, labrob_gazebo. Could you please tell me what is wrong here? I also tried in the packages directory the following command in case any dependency was missing: rosdep install --from-paths . --ignore-src --rosdistro kinetic but everything was successful. Thank you for your answers and for your time in advance.

Viewing all articles
Browse latest Browse all 417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>