首页 > 系统服务 > 详细

Leaning ROS: Running ROS across multiple machines

时间:2018-03-12 00:45:54      阅读:335      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!