This class shows the motion of the robot. More...
#include <overview.hpp>
Public Slots | |
void | clear () |
void | showHide () |
Public Member Functions | |
void | addState (const State &state, const Qt::GlobalColor motion_color=Qt::blue) |
void | addTrajectory (const std::list< State * > &trajectory) |
QtMotionGUI () | |
Private Attributes | |
State | last_state |
Last state added. More... | |
QTabWidget | motion_window |
The window containing the displays. More... | |
bool | not_first_state |
Is next state the first one? More... | |
QGraphicsScene | path_scene |
QGraphicsScene | rot_vel_scene |
The scene containing the rotation velocity profile. More... | |
QGraphicsScene | trans_vel_scene |
The scene containing the translation velocity profile. More... | |
This class shows the motion of the robot.
It uses a tab window, one tab displaying the motion's path and the other the velocity profiles.
Definition at line 24 of file overview.hpp.
QtMotionGUI::QtMotionGUI | ( | ) |
Definition at line 13 of file overview.cpp.
void QtMotionGUI::addState | ( | const State & | state, |
const Qt::GlobalColor | motion_color = Qt::blue |
||
) |
Definition at line 39 of file overview.cpp.
void QtMotionGUI::addTrajectory | ( | const std::list< State * > & | trajectory | ) |
Definition at line 29 of file overview.cpp.
|
slot |
Definition at line 80 of file overview.cpp.
|
inlineslot |
Definition at line 46 of file overview.hpp.
|
private |
Last state added.
Definition at line 35 of file overview.hpp.
|
private |
The window containing the displays.
Definition at line 27 of file overview.hpp.
|
private |
Is next state the first one?
Definition at line 34 of file overview.hpp.
|
private |
The scene containing the path.
Definition at line 28 of file overview.hpp.
|
private |
The scene containing the rotation velocity profile.
Definition at line 32 of file overview.hpp.
|
private |
The scene containing the translation velocity profile.
Definition at line 30 of file overview.hpp.