您的位置:首页 > 编程语言 > Go语言

ROS入门 创建msg(消息)和svr(服务)遇到的问题

2018-01-24 12:41 405 查看
ROS Indigo版本
在按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>

这样就得以解决问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ROS Indigo