Ubuntu20.04安装rostopic
sudo apt update
sudo apt -y install python3-rosmaster
sudo apt -y install python3-rostopic
先运行rosmaster
在运行rostoic list