TX2-ros机器人移植调试第一弹——catkin_make的error

2023-05-16

报错如下:

clbrobot的依赖package

-- Could not find the required component 'rosserial_python'. 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_p                                                                                        ackage):
  Could not find a package configuration file provided by "rosserial_python"
  with any of the following names:

    rosserial_pythonConfig.cmake
    rosserial_python-config.cmake

  Add the installation prefix of "rosserial_python" to CMAKE_PREFIX_PATH or
  set "rosserial_python_DIR" to a directory containing one of the above
  files.  If "rosserial_python" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):

 解决方法(https://blog.csdn.net/qq_16775293/article/details/81022602):

nvidia@tegra-ubuntu:~/catkin_ws$ sudo apt-get install ros-kinetic-rosserial-python -y

frontier_exploration的依赖package:

-- Could not find the required component 'costmap_2d'. 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 "costmap_2d" with
  any of the following names:

    costmap_2dConfig.cmake
    costmap_2d-config.cmake

  Add the installation prefix of "costmap_2d" to CMAKE_PREFIX_PATH or set
  "costmap_2d_DIR" to a directory containing one of the above files.  If
  "costmap_2d" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):

 解决方法(https://blog.csdn.net/qq_16775293/article/details/81022602):

sudo apt install ros-kinetic-costmap-2d -y

robot_localization的依赖package:

-- Could not find the required component 'geographic_msgs'. 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 "geographic_msgs"
  with any of the following names:

    geographic_msgsConfig.cmake
    geographic_msgs-config.cmake

  Add the installation prefix of "geographic_msgs" to CMAKE_PREFIX_PATH or
  set "geographic_msgs_DIR" to a directory containing one of the above files.
  If "geographic_msgs" provides a separate development package or SDK, be
  sure it has been installed.
Call Stack (most recent call first):
  robot_localization/CMakeLists.txt:4 (find_package)

 解决方法(https://blog.csdn.net/qq_16775293/article/details/81022602):

nvidia@tegra-ubuntu:~/catkin_ws$ sudo apt install ros-kinetic-geographic-msgs -y

 frontier_exploration的依赖package:

-- Could not find the required component 'move_base_msgs'. 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 "move_base_msgs"
  with any of the following names:

    move_base_msgsConfig.cmake
    move_base_msgs-config.cmake

  Add the installation prefix of "move_base_msgs" to CMAKE_PREFIX_PATH or set
  "move_base_msgs_DIR" to a directory containing one of the above files.  If
  "move_base_msgs" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  clbrobot_project/frontier_exploration/CMakeLists.txt:4 (find_package)

 解决方法(https://blog.csdn.net/qq_16775293/article/details/81022602): 

nvidia@tegra-ubuntu:~/catkin_ws$ sudo apt install ros-kinetic-move-base-msgs -y

 cfg文件的can‘t execute:

/home/nvidia/catkin_ws/build/clbrobot_project/riki_pid/setup_custom_pythonpath.sh: 5: exec: /home/nvidia/catkin_ws/src/clbrobot_project/riki_pid/cfg/rikiPID.cfg: Permission denied
clbrobot_project/riki_pid/CMakeFiles/riki_pid_gencfg.dir/build.make:63: recipe for target '/home/nvidia/catkin_ws/devel/include/riki_pid/rikiPIDConfig.h' failed
make[2]: *** [/home/nvidia/catkin_ws/devel/include/riki_pid/rikiPIDConfig.h] Error 126
CMakeFiles/Makefile2:4820: recipe for target 'clbrobot_project/riki_pid/CMakeFiles/riki_pid_gencfg.dir/all' failed
make[1]: *** [clbrobot_project/riki_pid/CMakeFiles/riki_pid_gencfg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

解决方法:find -name *.cfg 文件并且一一chmod +x cfg文件

clbrobot package中riki_msgs/Velocities.h文件的missing:

In file included from /home/nvidia/catkin_ws/src/clbrobot_project/clbrobot/src/riki_base.cpp:4:0:
/home/nvidia/catkin_ws/src/clbrobot_project/clbrobot/include/riki_base.h:5:34: fatal error: riki_msgs/Velocities.h: No such file or directory
compilation terminated.
clbrobot_project/clbrobot/CMakeFiles/riki_base.dir/build.make:62: recipe for target 'clbrobot_project/clbrobot/CMakeFiles/riki_base.dir/src/riki_base.cpp.o' failed
make[2]: *** [clbrobot_project/clbrobot/CMakeFiles/riki_base.dir/src/riki_base.cpp.o] Error 1
CMakeFiles/Makefile2:10336: recipe for target 'clbrobot_project/clbrobot/CMakeFiles/riki_base.dir/all' failed
make[1]: *** [clbrobot_project/clbrobot/CMakeFiles/riki_base.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

解决方法:从源工程copy Velocities.h文件过去。

 

 camera_umd的libv412.h头文件的missing:

In file included from /home/nvidia/catkin_ws/src/camera_umd/uvc_camera/include/uvc_camera/camera.h:3:0,
                 from /home/nvidia/catkin_ws/src/camera_umd/uvc_camera/src/nodelets.cpp:7:
/home/nvidia/catkin_ws/src/camera_umd/uvc_camera/include/uvc_cam/uvc_cam.h:26:21: fatal error: libv4l2.h: No such file or directory
compilation terminated.

解决方法(https://answers.ros.org/question/287589/missing-libv4l2h-file-during-compilation):  

nvidia@tegra-ubuntu:~/catkin_ws$ sudo apt install libv4l-dev -y

 

 

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

TX2-ros机器人移植调试第一弹——catkin_make的error 的相关文章

  • 将MATLAB环境下深度学习目标检测模型部署在Jetson TX2开发板

    摘要 在MATLAB2019b环境下训练深度学习目标检测模型 利用MATLABcoder和GPUcoder生成c 代码和CUDA代码 并部署在NVIDIA Jetson TX2开发板上运行 1 利用NVIDIA SDK manager对TX
  • python中用pickle打开文件报错:EOFError: Ran out of input

    用pickle dump 保存文件之后如果不关闭文件就会出现此错误 f open test pkl wb pickle dump dict f f close 后面添加关闭就不会报错
  • Your python install is corrupted. Please fix the '/usr/bin/python' symlink.

    执行如下命令就ok了 sudo ln sf usr bin python2 7 usr bin python 如果还是不行 reinstall sudo apt get install reinstall python 参考地址 https
  • 激光雷达LMS111在ROS上的使用

    LMS111 10100 在ROS上的测试与使用 准备工作 设备 硬件 LMS111 101000激光雷达 软件 ubuntu16 04 ROS 开始 设备连接 将激光雷达与处理器 电脑 工控机等 通过以太网连接好 激光雷达默认的IP地址为
  • Go_异常处理

    Error 异常就是程序出现了不正常的情况 会导致程序非正常停止 而异常处理就是针对非正常停止的情况 给出异常时的处理方式 语法错误不算异常体系中 error是一个接口 作用是返回程序异常的信息 errors实现了error type er
  • rosprofiler 安装和使用

    rosprofiler wiki 页面 http wiki ros org rosprofiler rosprofiler package 下载rosprofiler和ros statistics msgs 放到工程目录下编译 https
  • Ubuntu安装ROS

    原文链接 https blog csdn net qq 44830040 article details 106049992 这也是我在ubuntu里面安装ROS的第N次 以前每次安装过程都忘记总结了 导致每次安装ROS都浪费了很多的时间用
  • [ERROR NumCPU]: the number of available CPUs 1 is less than the required 2

    出现上述错误的原因 因为物理机或者虚拟机不满足Kubernetes的基础配置造成的 而Kubernetes对GPU要求至少是2核 2G内存 W0123 08 22 23 322562 12102 validation go 28 Canno
  • Ubuntu16.04及ROS Kinetic环境下安装使用RealSense SR300

    Ubuntu16 04及ROS Kinetic环境下安装使用RealSense SR300 1 准备条件 需要安装Ubuntu16 04及ROS Kinetic 2 安装驱动 安装realsense的驱动流程可以根据Github上的官方推荐
  • 最快实现一个自己的扫地机

    作者 良知犹存 转载授权以及围观 欢迎关注微信公众号 羽林君 或者添加作者个人微信 become me 扫地机介绍 扫地机器人行业本质是技术驱动型行业 产品围绕导航系统的升级成为行业发展的主旋律 按功能划分 扫地机器人分为四大系统 即导航系
  • 服务数据的定义和使用

    1 自定义数据服务 在包下创建srv文件夹 在文件夹下创建Person srv 在Person srv下输入以下内容 代表数据类型 string name uint8 age uint8 sex uint8 unknown 0 uint8
  • 【ROS】usb_cam相机标定

    1 唠叨两句 当我们要用相机做测量用途时 就需要做相机标定了 不然得到的计算结果会有很大误差 标定的内容包括三部分 内参 外参还有畸变参数 所以标定的过程就是要求得上面这些参数 以前弄这个事估计挺麻烦 需要做实验和计算才能得到 现在通过ro
  • ubuntu18.04命令安装ros2

    ROS2官方文档 本教程为apt get命令安装方式 官网教程有点问题 借鉴一下大佬的安装方式 文章目录 1 安装ROS2 1 1 安装秘钥相关指令 1 2 授权秘钥 1 3 添加ROS2软件源 1 4 安装 2 设置环境 可选但是推荐 2
  • roslaunch error: ERROR: cannot launch node of type

    今天在因为github上有个之前的包更新了 重新git clone后出现了一个问题 ERROR cannot launch node of type crazyflie demo controller py can t locate nod
  • 进入 docker 容器,exec 丢失 PATH 环境变量

    这是我的 Dockerfile FROM ros kinetic ros core xenial CMD bash 如果我跑docker build t ros docker run it ros 然后从容器内echo PATH 我去拿 o
  • 如何将视频或图像序列转换为包文件?

    我是 ROS 新手 我需要转换预先存在的视频文件 或者large可以连接到视频流中的图像数量 bagROS 中的文件 我在网上找到了这段代码 http answers ros org question 11537 creating a ba
  • 从 pcl::PointCloud 中删除点

    我是 PCL 新手 我正在使用 PCL 库 并且正在寻找一种从点云中提取点或将特定点复制到新点的方法 我想验证每个点是否符合条件 并且我想获得仅包含优点的点云 谢谢 使用 ExtractIndices 类 将要删除的点添加到 PointIn
  • Kinect / Primesense (Xtion) ROS Ubuntu 通过虚拟机 (VMware)

    由于我花了相当长的时间才弄清楚如何让 Xtion Primesense 在 VMware 上工作 所以我想在这里与大家分享 使用 Kinect 时 即使 VMware 已成功连接该设备 我也无法让 ROS 查看该设备 roslaunch o
  • 我的代码的 Boost 更新问题

    我最近将 boost 更新到 1 59 并安装在 usr local 中 我的系统默认安装在 usr 并且是1 46 我使用的是ubuntu 12 04 我的代码库使用 ROS Hydro 机器人操作系统 我有一个相当大的代码库 在更新之前
  • ROS安装错误(Ubuntu 16.04中的ROS Kinetic)

    中列出的步骤顺序http wiki ros org kinetic Installat 已被关注 尝试在Ubuntu 16 04中安装ROSkinetic 输入以下命令时出错 sudo apt get install ros kinetic

随机推荐