Using rqt with rviz
Hi,
I would like to use rviz in rqt, I'm using fuerte and Ubuntu 10.04. When I do:
rosrun rqt_rviz rqt_rviz
I get:
/opt/ros/fuerte/stacks/rqt/rqt_gui/src/rqt_gui/roslib_plugin_provider.py:31: UserWarning: roslib.rospack is deprecated, please use rospkg
import roslib.rospack
RosPluginlibPluginProvider::load_explicit_type(rqt_rviz/RViz) failed initializing plugin (plugin is not a nodelet)
PluginManager._load_plugin() could not load plugin "rqt_rviz/RViz":
Traceback (most recent call last):
File "/opt/ros/fuerte/stacks/qt_gui_core/qt_gui/src/qt_gui/plugin_handler.py", line 89, in load
self._load()
File "/opt/ros/fuerte/stacks/qt_gui_core/qt_gui/src/qt_gui/plugin_handler_direct.py", line 54, in _load
self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
File "/opt/ros/fuerte/stacks/qt_gui_core/qt_gui/src/qt_gui/composite_plugin_provider.py", line 71, in load
instance = plugin_provider.load(plugin_id, plugin_context)
File "/opt/ros/fuerte/stacks/qt_gui_core/qt_gui/src/qt_gui/composite_plugin_provider.py", line 71, in load
instance = plugin_provider.load(plugin_id, plugin_context)
File "/opt/ros/fuerte/stacks/qt_gui_core/qt_gui/src/qt_gui/composite_plugin_provider.py", line 71, in load
instance = plugin_provider.load(plugin_id, plugin_context)
File "/opt/ros/fuerte/stacks/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp/ros_pluginlib_plugin_provider.py", line 68, in load
raise ImportError('RosPluginlibPluginProvider.load() could not load plugin "%s"' % plugin_id)
ImportError: RosPluginlibPluginProvider.load() could not load plugin "rqt_rviz/RViz"
Also, if I open directly rqt with
rosrun rqt_gui rqt_gui
and then I try to add manually Rviz plugin, I get the same error.
What could I do to solve this?
Thank you in advance.
Wouldn't blame fuerte generally, works for me in up to date fuerte under 12.04 64-bit.