Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Model Plugin with QT objects, is it possible?

Can QT objects (e.g. A QMainWindow) be declared within a ModelPlugin, and if so can an example be provided? I want to create a plugin to control a model joints so when the model is inserted in gazebo a new window with personalized controls is displayed.

In the header file along from the class that inherits from ModelPlugin i tried declaring another class that inherits from QMainWindow, it compiles just fine but when the plugin is included in a sdf model and i insert it to gazebo it fails to load the plugin with an undefined symbol error for the class inheriting from QMainWindow.