iohannes
Published on 2025-03-18 / 1 Visits

ros联机

获取主从机的ip地址

ifconfig

主机: 172.17.0.4
从机x:172.17.0.3

主机配置

export ROS_MASTER_URI=http://172.17.0.4:11311
export ROS_IP=172.17.0.4
roscore

从机x配置

export ROS_MASTER_URI=http://172.17.0.4:11311
export ROS_IP=172.17.0.3
rostopic list