|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
38 if (calibrator!=
nullptr)
40 yDebug(
"Going to call calibrator\n");
44 yWarning(
"Warning called calibrate but no calibrator was set\n");
52 if (calibrator!=
nullptr)
60 if (calibrator!=
nullptr)
68 if (calibrator!=
nullptr)
70 yDebug(
"Going to call calibrator\n");
74 yWarning(
"Warning called park but no calibrator was set\n");
100 temp =
new double[size];
bool uninitialize()
Clean up internal data and memory.
virtual bool park(DeviceDriver *dd, bool wait=true)=0
Interface implemented by all device drivers.
virtual bool calibrateRobot()
Calibrate robot by using an external calibrator.
Interface for control devices, calibration commands.
define control board standard interfaces
An interface for the device drivers.
bool setCalibrationParameters(int axis, const CalibrationParameters ¶ms) override
Start calibration, this method is very often platform specific.
bool calibrationDone(int j) override
Check if the calibration is terminated, on a particular joint.
virtual bool setCalibrationParametersRaw(int axis, const CalibrationParameters ¶ms)
Start calibration, this method is very often platform specific.
virtual bool quitCalibrate()=0
virtual bool quitPark()=0
bool calibrateAxisWithParams(int axis, unsigned int type, double p1, double p2, double p3) override
Start calibration, this method is very often platform specific.
virtual bool calibrateAxisWithParamsRaw(int axis, unsigned int type, double p1, double p2, double p3)=0
Start calibration, this method is very often platform specific.
virtual bool setCalibrator(ICalibrator *c)
Set the calibrator object to be used to calibrate the robot.
virtual ~ImplementControlCalibration()
Destructor.
virtual bool calibrate(DeviceDriver *dd)=0
void checkAndDestroy(T *&p)
IControlCalibrationRaw * iCalibrate
yarp::dev::ControlBoardHelper * castToMapper(void *p)
virtual bool abortCalibration()
ImplementControlCalibration(yarp::dev::IControlCalibrationRaw *y)
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
virtual bool calibrationDoneRaw(int j)=0
Check if the calibration is terminated, on a particular joint.
virtual bool park(bool wait=true)