Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Attributes
ArmWidget Class Reference

#include <ArmWidget.h>

List of all members.

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

Detailed Description

Definition at line 59 of file ArmWidget.h.


Constructor & Destructor Documentation

ArmWidget::ArmWidget ( QWidget *  parent = 0)

Definition at line 93 of file ArmWidget.cpp.


Member Function Documentation

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]

Definition at line 283 of file ArmWidget.cpp.

Definition at line 310 of file ArmWidget.cpp.

Definition at line 316 of file ArmWidget.cpp.

Definition at line 322 of file ArmWidget.cpp.

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


corobot_teleop
Author(s): Morgan Cormier/Gang Li/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:39:41