#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 | scaleView (qreal scaleFactor) |
void | timerEvent (QTimerEvent *event) |
Private Attributes | |
armType | arm_type |
bool | elbow |
QPointF | end_effector |
bool | shoulder |
int | timerId |
Definition at line 59 of file ArmWidget.h.
ArmWidget::ArmWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 93 of file ArmWidget.cpp.
void ArmWidget::Corobot | ( | bool | value | ) | [slot] |
Definition at line 221 of file ArmWidget.cpp.
void ArmWidget::drawBackground | ( | QPainter * | painter, |
const QRectF & | rect | ||
) | [protected] |
Definition at line 436 of file ArmWidget.cpp.
void ArmWidget::elbow_degree | ( | bool | value | ) | [slot] |
Definition at line 297 of file ArmWidget.cpp.
void ArmWidget::elbowAngle_rad | ( | double | value | ) | [signal] |
void ArmWidget::itemMoved | ( | ) |
Definition at line 283 of file ArmWidget.cpp.
void ArmWidget::moveArmDown | ( | ) |
Definition at line 310 of file ArmWidget.cpp.
void ArmWidget::moveArmLeft | ( | ) |
Definition at line 316 of file ArmWidget.cpp.
void ArmWidget::moveArmRight | ( | ) |
Definition at line 322 of file ArmWidget.cpp.
void ArmWidget::moveArmUp | ( | ) |
Definition at line 304 of file ArmWidget.cpp.
void ArmWidget::posarm | ( | float | x, |
float | y | ||
) | [signal] |
void ArmWidget::received_pos | ( | double | x, |
double | y | ||
) | [slot] |
Definition at line 328 of file ArmWidget.cpp.
void ArmWidget::scaleView | ( | qreal | scaleFactor | ) | [protected] |
Definition at line 478 of file ArmWidget.cpp.
void ArmWidget::setModel | ( | bool | arm_al5a, |
bool | arm_pincher, | ||
bool | arm_reactor, | ||
bool | arm_old_corobot | ||
) | [slot] |
Definition at line 234 of file ArmWidget.cpp.
void ArmWidget::shoulder_degree | ( | bool | value | ) | [slot] |
Definition at line 290 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 345 of file ArmWidget.cpp.
armType ArmWidget::arm_type [private] |
Definition at line 98 of file ArmWidget.h.
bool ArmWidget::elbow [private] |
Definition at line 97 of file ArmWidget.h.
QPointF ArmWidget::end_effector [private] |
Definition at line 95 of file ArmWidget.h.
bool ArmWidget::shoulder [private] |
Definition at line 96 of file ArmWidget.h.
int ArmWidget::timerId [private] |
Definition at line 94 of file ArmWidget.h.