zoukankan      html  css  js  c++  java
  • ROS之服务器与客户端简单程序遇到的错误

    在按ROS入门教程(点击打开链接)行进过程中遇到的错误

    1、exec_depend与run_depend一样

    在按ROS入门教程(点击打开链接)行进过程中到了执行

    rosmsg show beginner_tutorials/Num

    命令时,出现提示

    The manifest (with format version 2) must not contain the following tags: run_depend

    的警告,这个的主要解决方法是使用catkin方式时在package.xml文件中将教程中添加的两行语句

     <build_depend>message_generation</build_depend>
      <run_depend>message_runtime</run_depend>

    要改成

      <build_depend> message_generation </build_depend>

      <exec_depend> message_runtime </exec_depend>

    或者

    <build_export_depend>message_generation</build_export_depend>
    <exec_depend>message_runtime</exec_depend>

    这样就得以解决问题

    2、ROSCORE每次启动必须打开

    [ERROR] [1446531999.044935824]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying...

    解决:请检查 roscore 是否正常打开。

            每次进行运行测试时都要首先运行 roscore。

  • 相关阅读:
    UPC2018组队训练赛第十二场
    ACM-ICPC 2018南京赛区网络预选赛
    UPC2018组队训练赛第十一场
    UPC2018组队训练赛第十场
    UPC2018组队训练赛第九场
    linux 用简单密码
    设置分辨率
    packstack
    rbenv
    elasticsearch
  • 原文地址:https://www.cnblogs.com/flyingjun/p/8830535.html
Copyright © 2011-2022 走看看