Rviz reports an error when executing in Ubuntu PluginlibFactory: The plugin for class xxx failed to load Solution [ROS]

执行rviz报错:

[ERROR] [xxx]: PluginlibFactory: The plugin for class ‘xxx’ failed to load. Error: According to the loaded plugin descriptions the class xxx with base class type rviz::Display does not exist.

 The corresponding software library is missing, execute the command to install:

#根据截图信息,以截图 jsk-rviz-plugin 为例
sudo apt-get update

#安装 ros-<ros-version>-jsk-rviz-plugins
sudo apt-get install ros-melodic-jsk-rviz-plugins

Guess you like

Origin blog.csdn.net/loveric/article/details/132264869