Robotics StackExchange | Archived questions

rqt load_plugin problem

Hi every body

I am trying to develop a plug in for rviz, for that I am trying to understand the tutorials.

I mainly follow the tutorial stated in the next link, I have followed catkin and .py: http://ros.org/wiki/rqt/Tutorials/Create%20your%20new%20rqt%20plugin#Install_.26_Run_your_plugin

I have the following files in ~/catkin_ws/src/rqt_mypkg/src/rqt_mypkg:

__init__.py  my_module.py  my_module.py~  my_module.pyc  notepad.ui

Then I compile everything: catkin_ws$ catkin_make

Then I open rqt

I can see my plug in there, but when I click in my plugin I get the following error:

PluginManager._load_plugin() could not load plugin "rqt_mypkg/MyPlugin":

Do you have any clue what can be wrong?

In advance thank you :)

Asked by acp on 2013-08-29 02:04:28 UTC

Comments

Uhm, could it be that this isn't the full error message? I'd expect some file/class mismatch details to follow. -- Have you checked to match every path/module/class etc specs named in plugin.xml to match the real python code files?

Asked by felix k on 2013-08-29 22:58:15 UTC

Hi, I manage to solve the problem, it was the .ui file, I had and I changed to . Because I created the gui with qt designer.

Asked by acp on 2013-09-02 00:33:18 UTC

Now my next issue is to connect a click event in the rqt gui with some ros application. For instance, if I click a PushButtom I want to start the navigation satck. And if I click another Pushbutton I want to control the robot with a joystick etc. In advance thank you :)

Asked by acp on 2013-09-02 00:37:26 UTC

Answers