If you meet an error that shows like this:
WARNING: unable to configure logging. No log files will be generated
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 <param> tag: Cannot load command parameter [rosversion]: command [rosversion roslaunch] returned with code [1].
The solution to this problem is to run the following command again:
$ echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc $ source ~/.bashrc
Reference materials:
1. https://blog.csdn.net/u010696783/article/details/49949511
2. https://www.linuxidc.com/Linux/2017-08/146030.htm