本教程用于在local机器上launch robot上的文件:
此配置只能远程roslaunch相关文件,但是robot端不会有任何的提示,只能在本地终端上判断是否launch成功,launch完成后本地终端上不会打印任何字符。
一.相关配置
1.local配置.bashrc
在.bashrc添加
export ROS_IP=local_ip #local_ip为本地ip
export ROS_MASTER_URI=http://local_ip:11311
source /opt/ros/indigo/setup.bash
source ~/catkin_ws/devel/setup.bash
2.robot配置.bashrc
在.bashrc添加
export ROS_IP=robot_ip
export ROS_MASTER_URI=http://local_ip:11311
source /opt/ros/indigo/setup.bash
source ~/catkin_ws/devel/setup.bash
二.修改launch文件