Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

TorqueCalibrate Class Reference

#include <TorqueCalibrate.h>

Inheritance diagram for TorqueCalibrate:

List of all members.


Detailed Description

Provides an interface for making measurements to correlate PID duty cycle and actual force output for each of the motors.

Definition at line 11 of file TorqueCalibrate.h.


Public Member Functions

 TorqueCalibrate ()
 default constructor
 TorqueCalibrate (const std::string &n)
 constructor which allows a custom name
 TorqueCalibrate (const std::string &n, const std::string &d)
 constructor which allows a custom name and tooltip
virtual ~TorqueCalibrate ()
 destructor
void record (unsigned int joint, float sensorDist, float maxDuty, float maxForce) const
virtual void refresh ()
 called when the child has deactivated and this control should refresh its display, or some other event (such as the user pressing the refresh button) has happened to cause a refresh to be needed

Protected Member Functions

virtual void init ()
 initialization

Protected Attributes

std::string filename
FileInputControlfilenameInput

Private Member Functions

 TorqueCalibrate (const TorqueCalibrate &)
 you can override, but don't call this...
TorqueCalibrateoperator= (const TorqueCalibrate &)
 you can override, but don't call this...

Classes

class  TakeMeasurementControl

Constructor & Destructor Documentation

TorqueCalibrate::TorqueCalibrate (  )  [inline]

default constructor

Definition at line 21 of file TorqueCalibrate.h.

TorqueCalibrate::TorqueCalibrate ( const std::string &  n  )  [inline]

constructor which allows a custom name

Definition at line 26 of file TorqueCalibrate.h.

TorqueCalibrate::TorqueCalibrate ( const std::string &  n,
const std::string &  d 
) [inline]

constructor which allows a custom name and tooltip

Definition at line 31 of file TorqueCalibrate.h.

virtual TorqueCalibrate::~TorqueCalibrate (  )  [inline, virtual]

destructor

Definition at line 37 of file TorqueCalibrate.h.

TorqueCalibrate::TorqueCalibrate ( const TorqueCalibrate  )  [private]

you can override, but don't call this...


Member Function Documentation

virtual void TorqueCalibrate::init (  )  [inline, protected, virtual]

initialization

Definition at line 76 of file TorqueCalibrate.h.

Referenced by TorqueCalibrate().

void TorqueCalibrate::record ( unsigned int  joint,
float  sensorDist,
float  maxDuty,
float  maxForce 
) const

void TorqueCalibrate::refresh (  )  [virtual]

called when the child has deactivated and this control should refresh its display, or some other event (such as the user pressing the refresh button) has happened to cause a refresh to be needed

Reimplemented from ControlBase.

Definition at line 33 of file TorqueCalibrate.cc.

TorqueCalibrate& TorqueCalibrate::operator= ( const TorqueCalibrate  )  [private]

you can override, but don't call this...


Member Data Documentation

std::string TorqueCalibrate::filename [protected]

Definition at line 100 of file TorqueCalibrate.h.

Referenced by init(), record(), and refresh().

Definition at line 101 of file TorqueCalibrate.h.

Referenced by init(), and refresh().


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:45 2007 by Doxygen 1.5.4