I was following along the instructions but when I run in the terminal:
roslaunch logger_example_pkg start_logger_example.launch
I get the following error:
[start_logger_example.launch] is neither a launch file in package [logger_example_pkg] nor is [logger_example_pkg] a launch file name
The traceback for the exception was written to the log file
It seems like there is no such package available. Can someone tell me if I am doing something wrong? Thanks.
Have you used the ‘rospack profile’ command? Are you sure u spelt the files right? These are few general mistakes. Hope it helps, cheers!
Two possible options here:
- You did not create the
start_logger_example.launch. If that is the case, just follow the instructions of the lesson Unit and create it. Remember that the package has to be created inside the
catkin_ws/src directory. Also remember that you cannot create packages by copy/pasting directory of another package. You have to use
- You create it but you misspelled it. This is very common mistake. Check your name for the package and for the launch file and modify it accordingly.
Let me know if any of those work