#include <ArmWidget.h>
Public Slots | |
void | Corobot (bool value) |
void | elbow_degree (bool value) |
void | received_pos (double x, double y) |
void | setModel (bool arm_al5a, bool arm_pincher, bool arm_reactor, bool arm_old_corobot) |
void | shoulder_degree (bool value) |
Signals | |
void | elbowAngle_rad (double value) |
void | posarm (float x, float y) |
void | shoulderAngle_rad (double value) |
void | theta1 (double value) |
void | theta2 (double value) |
Public Member Functions | |
ArmWidget (QWidget *parent=0) | |
void | itemMoved () |
void | moveArmDown () |
void | moveArmLeft () |
void | moveArmRight () |
void | moveArmUp () |
Protected Member Functions | |
void | drawBackground (QPainter *painter, const QRectF &rect) |
void | timerEvent (QTimerEvent *event) |
Private Attributes | |
armType | arm_type |
bool | elbow |
QPointF | end_effector |
bool | shoulder |
int | timerId |
Definition at line 60 of file ArmWidget.h.
ArmWidget::ArmWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 84 of file ArmWidget.cpp.
void ArmWidget::Corobot | ( | bool | value | ) | [slot] |
Definition at line 212 of file ArmWidget.cpp.
void ArmWidget::drawBackground | ( | QPainter * | painter, |
const QRectF & | rect | ||
) | [protected] |
Definition at line 414 of file ArmWidget.cpp.
void ArmWidget::elbow_degree | ( | bool | value | ) | [slot] |
Definition at line 288 of file ArmWidget.cpp.
void ArmWidget::elbowAngle_rad | ( | double | value | ) | [signal] |
void ArmWidget::itemMoved | ( | ) |
Definition at line 274 of file ArmWidget.cpp.
void ArmWidget::moveArmDown | ( | ) |
Definition at line 301 of file ArmWidget.cpp.
void ArmWidget::moveArmLeft | ( | ) |
Definition at line 307 of file ArmWidget.cpp.
void ArmWidget::moveArmRight | ( | ) |
Definition at line 313 of file ArmWidget.cpp.
void ArmWidget::moveArmUp | ( | ) |
Definition at line 295 of file ArmWidget.cpp.
void ArmWidget::posarm | ( | float | x, |
float | y | ||
) | [signal] |
void ArmWidget::received_pos | ( | double | x, |
double | y | ||
) | [slot] |
Definition at line 319 of file ArmWidget.cpp.
void ArmWidget::setModel | ( | bool | arm_al5a, |
bool | arm_pincher, | ||
bool | arm_reactor, | ||
bool | arm_old_corobot | ||
) | [slot] |
Definition at line 225 of file ArmWidget.cpp.
void ArmWidget::shoulder_degree | ( | bool | value | ) | [slot] |
Definition at line 281 of file ArmWidget.cpp.
void ArmWidget::shoulderAngle_rad | ( | double | value | ) | [signal] |
void ArmWidget::theta1 | ( | double | value | ) | [signal] |
void ArmWidget::theta2 | ( | double | value | ) | [signal] |
void ArmWidget::timerEvent | ( | QTimerEvent * | event | ) | [protected] |
Definition at line 336 of file ArmWidget.cpp.
armType ArmWidget::arm_type [private] |
Definition at line 97 of file ArmWidget.h.
bool ArmWidget::elbow [private] |
Definition at line 96 of file ArmWidget.h.
QPointF ArmWidget::end_effector [private] |
Definition at line 94 of file ArmWidget.h.
bool ArmWidget::shoulder [private] |
Definition at line 95 of file ArmWidget.h.
int ArmWidget::timerId [private] |
Definition at line 93 of file ArmWidget.h.