ros 错误小记

catkin_make 命令消失问题
解决方法 source /opt/ros/kinetic/setup.bash


CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by
  "moveit_ros_planning" with any of the following names:
 
    moveit_ros_planningConfig.cmake
    moveit_ros_planning-config.cmake
 
  Add the installation prefix of "moveit_ros_planning" to CMAKE_PREFIX_PATH
  or set "moveit_ros_planning_DIR" to a directory containing one of the above
  files.  If "moveit_ros_planning" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  aubo_robot-indigo-devel/aubo_trajectory_filters/CMakeLists.txt:5 (find_package)
 
 
-- Could not find the required component 'moveit_ros_planning'. 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/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "moveit_ros_planning" with any of the following names:
 
    moveit_ros_planningConfig.cmake
    moveit_ros_planning-config.cmake
 
  Add the installation prefix of "moveit_ros_planning" to CMAKE_PREFIX_PATH
  or set "moveit_ros_planning_DIR" to a directory containing one of the above
  files.  If "moveit_ros_planning" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  aubo_robot-indigo-devel/aubo_trajectory_filters/CMakeLists.txt:5 (find_package)
 
 
-- Configuring incomplete, errors occurred!
See also "/home/sensetime/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/sensetime/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

sudo apt-get install ros-kinetic-moveit

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
您好!感谢您的提问。对于安装ROS环境变量错误的问题,可以尝试以下几个步骤来解决: 1. 检查ROS安装是否成功:首先确认ROS是否已经正确地安装在您的系统中。您可以通过在终端中输入`roscore`来检查ROS是否能够正常启动。 2. 检查环境变量设置:确保您已正确设置了ROS的环境变量。在终端中执行以下命令来检查是否已经设置了环境变量: ``` echo $ROS_DISTRO ``` 如果没有输出任何内容,或者输出不是您所安装的ROS版本,那么您需要正确设置环境变量。您可以通过编辑`~/.bashrc`文件,并添加以下内容来设置环境变量: ``` source /opt/ros/<your-ros-version>/setup.bash ``` 然后执行以下命令来使环境变量生效: ``` source ~/.bashrc ``` 3. 检查软件包路径:如果您已经正确设置了ROS的环境变量,但仍然遇到问题,可能是因为您的软件包路径没有正确添加。您可以执行以下命令查看是否已经添加了正确的软件包路径: ``` echo $ROS_PACKAGE_PATH ``` 如果没有输出或输出不包含您的工作空间路径,则需要将工作空间路径添加到环境变量中。在终端中执行以下命令: ``` export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/path/to/your/workspace ``` 然后执行以下命令来使环境变量生效: ``` source ~/.bashrc ``` 如果您尝试了以上步骤但仍然无法解决问题,请提供更多错误信息或详细描述您遇到的具体问题,我将尽力提供帮助。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值