First time here? Check out the FAQ!
answered 2017-03-22 01:29:34 -0500
Simple solution! use update() instead of repaint(), ie:
update()
repaint()
void MyClass::SomeTopicCallback(ConstMsgPtr &msg) { // useful code here update(); // or this->update() }