ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just use Qt resources.

You could integrate a Qtimer with a Q_SLOTS that simply wraps a spinOnce call into your custom panel class ( Q_OBJECT).

So when the timer hits timeout, it calls for spinOnce(). Then, through subscriber callbacks, your Qt elements get updated.

Example for integration of timer and wrapper call:

QObject::connect(QTimer_instance_name, SIGNAL(timeout()), this, SLOT(spinOnce_Wrapper()));