1、在终端输入要修改的文件的路径:cd opt/ros/indigo/share/pr2_gazebo/Launch。
3、在终端输入命令:sudo gedit ,注意gedit后有一个空格。
5、回车后,需要输入操作系统登陆密码。