roscore and rosmaster幕后的功臣

本文介绍了roscore和rosmaster在ROS系统中的作用。roscore启动的节点定义在roslaunch/roscore.xml中,它提供命名和注册服务,使ROS节点能相互定位。ROSMaster跟踪话题的发布者和订阅者以及服务,实现节点间的通信。当需要关闭ROS进程时,可以使用rosnode kill -a或pkill roslaunch。
摘要由CSDN通过智能技术生成

理论:



测试运行:roscore -p 1234

... logging to /home/xuting/.ros/log/7e20e3fe-a0be-11e6-ae70-00150064e94c/roslaunch-ubuntu-710.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
WARNING: disk usage in log directory [/home/xuting/.ros/log] is over 1GB.
It's recommended that you use the 'rosclean' command.

started roslaunch server http://192.168.8.109:39086/
ros_comm version 1.11.16


SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.16

NODES

WARNING: ROS_MASTER_URI port [11311] does not match this roscore [1234]
auto-starting new master
process[master]: started with pid [724]
ROS_MASTER_URI=http://192.168.8.109:1234/

setting /run_id to 7e20e3fe-a0
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值