在终端输入rqt_graph报错。
[ERROR] [1637216197.121052293]: Skipped loading plugin with error: XML Document '/opt/ros/noetic/share/pr2_motor_diagnostic_tool/plugin.xml' has no Root Element. This likely means the XML is malformed or missing..
Solution:
https://github.com/rudasi/pr2_motor_diagnostic_tool/blob/master/plugin.xml
1.打开上面连接内容。
2. cd /opt/ros/noetic/share/pr2_motor_diagnostic_tool/
3. sudo touch plugin.xml
4. sudo gedit plugin.xml
5. 粘贴内容并保存。
-----问题解决