Hi why am I not able to execute a simple command on web shell ?
authorized all permissions unable to run a simple roslaunch command.
user:~/catkin_ws$ roslaunch my_package_launch_file.launch
RLException: [my_package_launch_file.launch] is not a launch file name
The traceback for the exception was written to the log file
about to lose interest in this course.
chmod +x into every possible file, but there comes one or the other error even on my ubuntu laptop from terminal…!
the 5 days course has taken me more than 15 days.
and not able to get past unit 2.
(actually skipped past most chapters until road blocked unit 4, as understood the chapters, but while executing not one command has executed which was created according to the steps)
ps: i am about to start hating ROS for the rest of my life…!!
user:~/catkin_ws$ roslaunch my_package_launch_file.launch
RLException: [my_package_launch_file.launch] is not a launch file name
The traceback for the exception was written to the log file
user:~/catkin_ws$ ls -la
total 24
drwxr-xr-x 5 user user 4096 May 15 05:45 .
drwxr-xr-x 10 user user 4096 May 15 07:20 …
-rw-r–r-- 1 user user 98 Dec 7 2020 .catkin_workspace
drwxr-xr-x 11 user user 4096 May 15 05:45 build
drwxr-xr-x 4 user user 4096 May 15 05:45 devel
drwxr-xr-x 3 user user 4096 May 15 06:38 src
user:~/catkin_ws$
Often this fail has nothing to do with permissions, and is normally because the file is not named correctly, or in the wrong workspace, or the workspace hasn’t been sourced properly.
Also isn’t the launch file in a package? I would expect the roslaunch to read more like roslaunch my_package_ws my_package_launch_file.launch
If you get frustrated this early you have to think about how the learning curve is very steep. I’ve found learning to troubleshoot the most useful skill in robots and this is a really good chance to use this as a learning experience.