9 #ifndef QTCTRL_GUI_CONTROL 10 #define QTCTRL_GUI_CONTROL 14 #include <QApplication> 38 : ctrl(controller), model(motion_model) {}
48 virtual QWidget&
widget() = 0;
59 const double& rot_vel) = 0;
70 const int key =
event->key();
71 if ( (key == Qt::Key_Q) || (key == Qt::Key_X) ) qApp->quit();
79 #endif // QTCTRL_GUI_CONTROL Controller is the abstract class inherited by all the implemented controllers.
This class defines a state, i.e. a configuration and its (translation and rotation) velocities...
This class defines a motion model, with the motion limits.
Controller abstract class.