rqt load_plugin problem [closed]
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 :)
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?
Hi, I manage to solve the problem, it was the .ui file, I had <widget class="QMainWindow" name="awc_gui">and I changed to <widget class="QWidget" name="awc_gui">. Because I created the gui with qt designer.
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 :)