rosrun和roslaunch区别解析
来源:互联网 发布:淘宝账号哪里买 编辑:程序博客网 时间:2024/06/05 05:53
在ROS中运行节点的命令有两个:rosrun和roslaunch。
官网上的解释如下:
rosrun allows you to run an executable in an arbitrary package without having to cd (or roscd) there first.
roslaunch is a tool for easily launching multiple ROS nodes locally and remotely via SSH, as well as setting parameters on the Parameter Server. It includes options to automatically respawn processes that have already died. roslaunch takes in one or more XML configuration files (with the .launch extension) that specify the parameters to set and nodes to launch, as well as the machines that they should be run on.
测试发现,rosrun是运行一个单独节点的命令,如果要运行多个节点,则需要使用多次rosrun命令。
而roslaunch采用XML的格式对需要运行的节点进行描述,可以同时运行多个节点。例如:
<launch>
<node name="listener" pkg="rospy_tutorials" type="listener.py" output="screen"/>
<node name="publish_on_shutdown" pkg="rospy_tutorials" type="publish_on_shutdown.py" output="screen"/>
</launch>
可以同时运行listener和publish_on_shutdown两个节点。
- rosrun和roslaunch区别解析
- ROS中rosrun和roslaunch命令的对比
- ROS中rosrun和roslaunch命令的对比
- ROS中rosrun和roslaunch命令的对比
- rosrun 和 roslaunch 的时候 TAB 的自动补全出现问题
- rosrun,roslaunch: cannot launch node or is either a launch file in package
- rosrun,roslaunch: cannot launch node or is either a launch file in package
- rqt_console和roslaunch
- 6、rqt_console和roslaunch
- 使用 rqt_console 和 roslaunch
- roslaunch 出现如下错误解析
- roslaunch的使用和编写
- (七)ROS rxconsole和roslaunch学习
- ROS总结—— rqt_console 和 roslaunch
- 使用 rqt_console 和 roslaunch(八)
- [跟我学ROS]8.rqt_console和roslaunch的用法
- ROS的学习(十)rqt_console和roslaunch
- ROS学习--(八)使用rqt控制台和roslaunch
- 12.PHP内核探索:PHP的FastCGI
- 【面试准备】数据结构-Huffman树
- C/C++:面向对象编程特性:多态(虚函数表原理)
- Android app项目开发步骤总结
- hdu2028 Lowest Common Multiple Plus
- rosrun和roslaunch区别解析
- Android退出程序时的"再按一次退出"实现
- libevent介绍
- 实现细节,hash对key为 null的处理,对重哈希的处理
- Node.js 常用工具 util
- ultraGrid 定制单元格合并逻辑
- SDL2在MAC OS X 10.9/10.10 XCode 5下的配置安装
- mysql -u root -p 等这些常用的参数
- ARM微处理器的指令的分类与格式