赞
踩
roslaunch可以用来启动定义在launch文件中的多个节点。
由于之前没有调用setup.bash,没有添加工作区路径到ros环境中,所以一开始使用roscd的时候找不到,添加后就可以了
通过查看ROS_PACKAGE_PATH 也可以看到新添加的路径。
创建一个文件夹launch,然后创建一个文件 touch turtlemimic.launch
<launch> <group ns="turtlesim1"> <node pkg="turtlesim" name="sim" type="turtlesim_node"/> </group> <
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。