ROS使用catkin build编译出错

编译整个工程时,出错,有一个包编译未通过,还有三个放弃编译。错误提示如下:

Errors << phantomx_pincher_arm_vrep_controller:cmake
/home/…/logs/phantomx_pincher_arm_vrep_controller/build.cmake.004.log
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): CMakeLists.txt:4
(find_package)

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): CMakeLists.txt:4
(find_package)

目前本人遇到的编译问题,很多情况下都是因为未安装好相应的包,而在工程readme文档中并没有提及需要的依赖包。解决方法如下:
sudo apt-get install ros-kinetic-ros-control ros-kinetic-ros-controllers
参考这里
http://wiki.ros.org/ros_control
part 7

以后要多看错误提示信息。。。

附:

  1. Running Non-Autonomous Navigation
    The move_base can be executed by running the following command:
    roslaunch turtlebot2i_navigation turtlebot2i_keyop.launch
  2. Change safety size
    roslaunch turtlebot2i_safety turtlebot2i_safety_single.launch
  • 0
    点赞
  • 0
    评论
  • 1
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

©️2021 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值