roscd pkg switches to the specified ROS function package directory
rosls pkg prints the files and directories in the specified ROS function package directory
rosed pkg file edits the specified file in the specified ROS function package directory. The vim editor is used by default. You can modify the default editor in the ~/.bashrc file: export EDITOR='emacs -nw'.
ROS execution command
roscore starts the master node
rosrun pkg exe(node) Run the specified executable file (node) under the specified function package
roslaunch pkg demo.launch runs the specified multiple nodes according to the demo.launch file, and can set the running options according to the parameters
rosclean check checks log usage. When the log file exceeds 1GB, execute rosclean purge to delete all log files.
ROS information command
rostopic list lists currently active topics, you can use the -h option to see which options are available for rostopic
rosservice list lists currently active services, also available -h
rosnode list lists the currently started nodes, same as above
rosparam list lists the parameters of the current environment, the same as above