码迷,mamicode.com
首页 > 系统相关 > 详细

Leaning ROS: Running ROS across multiple machines

时间:2018-03-12 01:08:10      阅读:249      评论:0      收藏:0      [点我收藏+]

标签:log   export   echo   art   AC   something   blog   style   multiple   

Start the master

ssh hal
roscore

Start the listener

ssh hal
export ROS_MASTER_URI=http://hal:11311
rosrun rospy_tutorials listener.py

Start the talker

ssh marvin
export ROS_MASTER_URI=http://hal:11311
rosrun rospy_tutorials talker.py

rostopic

rostopic list # You get a list of all available topics
rostopic echo /topic_name # check if there is a connection and messages still come.

When something goes wrong

echo $ROS_IP 

 

Leaning ROS: Running ROS across multiple machines

标签:log   export   echo   art   AC   something   blog   style   multiple   

原文地址:https://www.cnblogs.com/xbit/p/8547061.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!