How do I create a launch file?
The tutorials says ""Now let's create a launch file called turtlemimic.launch and paste the following: "" How do I create a launch file?
In the package, create a folder by the name launch and create a filename.launch file.
How do I create this file?
write the launch file in gedit and save it with a .launch extension ! was that your issue ?
If this is how you do it then how do I use gedit, I don't see gedit on the dashboard.
Asked by HelpwithUbuntu on 2014-08-12 09:43:28 UTC
Answers
Install gedit
, gedit is editor, you can use any editor which you like.
sudo apt-get install gedit
just create a empty document and rename it with .launch
extension and write your content.
Asked by bvbdort on 2014-08-12 09:54:31 UTC
Comments
I have gedit already installed, I don't understand " Rename it with .launch extension"?
Asked by HelpwithUbuntu on 2014-08-14 06:30:56 UTC
I copy pasted the line,
1
I saved it to home/pc/catkin_ws/src/beginner_tutorials/launch but it said I didnt have permission so I sudo it and it saved then but its not an xml file its a plain text file,
Asked by HelpwithUbuntu on 2014-08-14 06:50:14 UTC
the last line was without using gedit. launch file is a plan text file with xml syntax. What is the error ur getting while using launch file ?
Asked by bvbdort on 2014-08-14 07:17:29 UTC
pc@pc:~$ cd ~/catkin_ws/ pc@pc:~/catkin_ws$ source devel/setup.bash pc@pc:~/catkin_ws$ roslaunch beginner_tutorials turtlemimic.launch ... logging to /home/pc/.ros/log/93f61492-23a7-11e4-bf9f-9439e5ec40e7/roslaunch-pc-3090.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
Invalid roslaunch XML syntax: syntax error: line 1, column 3I
Asked by HelpwithUbuntu on 2014-08-14 07:18:34 UTC
What do you mean the last line is without using gedit?
Asked by HelpwithUbuntu on 2014-08-14 07:20:57 UTC
i think you copied line numbers also. it should be like this http://answers.ros.org/question/190190/roslaunch-beginner_tutorials-turtlemimiclaunch-cant-run/?answer=190210#post-id-190210
Asked by bvbdort on 2014-08-14 07:31:09 UTC
If it's not in the launcher just type gedit in a terminal....
Asked by Wolf on 2014-08-12 10:06:20 UTC
Comments
Use any editor - emacs/vim/nano from the terminal or gedit, copy and paste the content from the tutorial and save the file as turtlemimic.launch
Asked by richa on 2014-08-12 10:19:12 UTC
Comments
I did this and it saved as plain text and did not work.
Asked by HelpwithUbuntu on 2014-08-14 07:07:07 UTC
Comments