#include <yarp/dev/ImplementControlCalibration.h>
Public Member Functions | |
ImplementControlCalibration (yarp::dev::IControlCalibrationRaw *y) | |
virtual | ~ImplementControlCalibration () |
Destructor. More... | |
bool | calibrateAxisWithParams (int axis, unsigned int type, double p1, double p2, double p3) override |
Start calibration, this method is very often platform specific. More... | |
bool | setCalibrationParameters (int axis, const CalibrationParameters ¶ms) override |
Start calibration, this method is very often platform specific. More... | |
bool | calibrationDone (int j) override |
Check if the calibration is terminated, on a particular joint. More... | |
Public Member Functions inherited from yarp::dev::IControlCalibration | |
IControlCalibration () | |
virtual | ~IControlCalibration () |
Destructor. More... | |
virtual bool | setCalibrator (ICalibrator *c) |
Set the calibrator object to be used to calibrate the robot. More... | |
virtual bool | calibrateRobot () |
Calibrate robot by using an external calibrator. More... | |
virtual bool | park (bool wait=true) |
virtual bool | abortCalibration () |
virtual bool | abortPark () |
Protected Member Functions | |
bool | initialize (int size, const int *amap, const double *enc, const double *zos) |
Initialize the internal data and alloc memory. More... | |
bool | uninitialize () |
Clean up internal data and memory. More... | |
Protected Attributes | |
IControlCalibrationRaw * | iCalibrate |
void * | helper |
double * | temp |
Definition at line 23 of file ImplementControlCalibration.h.
ImplementControlCalibration::ImplementControlCalibration | ( | yarp::dev::IControlCalibrationRaw * | y | ) |
Definition at line 81 of file ImplementControlCalibration.cpp.
|
virtual |
Destructor.
Perform uninitialize if needed.
Definition at line 88 of file ImplementControlCalibration.cpp.
|
overridevirtual |
Start calibration, this method is very often platform specific.
Implements yarp::dev::IControlCalibration.
Definition at line 129 of file ImplementControlCalibration.cpp.
|
overridevirtual |
Check if the calibration is terminated, on a particular joint.
Non blocking.
Implements yarp::dev::IControlCalibration.
Definition at line 122 of file ImplementControlCalibration.cpp.
|
protected |
Initialize the internal data and alloc memory.
size | is the number of controlled axes the driver deals with. |
amap | is a lookup table mapping axes onto physical drivers. |
enc | is an array containing the encoder to angles conversion factors. |
zos | is an array containing the zeros of the encoders. |
Definition at line 93 of file ImplementControlCalibration.cpp.
|
overridevirtual |
Start calibration, this method is very often platform specific.
Reimplemented from yarp::dev::IControlCalibration.
Definition at line 136 of file ImplementControlCalibration.cpp.
|
protected |
Clean up internal data and memory.
Definition at line 109 of file ImplementControlCalibration.cpp.
|
protected |
Definition at line 27 of file ImplementControlCalibration.h.
|
protected |
Definition at line 26 of file ImplementControlCalibration.h.
|
protected |
Definition at line 28 of file ImplementControlCalibration.h.