55 p->
view(m_iControlCalibration);
60 yCWarning(
FAKECALIBRATOR) <<
"calibrate: using parametricCalibrator on an old iCubInterface system. Upgrade to robotInterface is recommended.";
61 device->
view(m_iControlCalibration);
62 device->
view(m_iEncoders);
65 if (!(m_iControlCalibration && m_iEncoders))
102 if (m_iControlCalibration ==
nullptr)
140 return park(m_dev2calibrate);
#define ReturnValue_error_method_failed
#define ReturnValue_error_not_ready
yarp::dev::ReturnValue parkWholePart() override
parkWholePart: start the parking procedure for the whole part
yarp::dev::ReturnValue homingWholePart() override
homingWholePart: call the homing procedure for a the whole part/device
yarp::dev::ReturnValue calibrate(DeviceDriver *device) override
Calibrate method.
yarp::dev::ReturnValue parkSingleJoint(int j, bool _wait=true) override
parkSingleJoint(): start the parking procedure for the single joint
virtual bool open(yarp::os::Searchable &config) override
Open the device driver.
yarp::dev::ReturnValue calibrateWholePart() override
calibrateWholePart: call the procedure for calibrating the whole device
yarp::dev::ReturnValue homingSingleJoint(int j) override
homingSingleJoint: call the homing procedure for a single joint
yarp::dev::ReturnValue quitCalibrate() override
virtual bool close() override
Close the device driver.
yarp::dev::ReturnValue calibrateSingleJoint(int j) override
calibrateSingleJoint: call the calibration procedure for the single joint
yarp::dev::IRemoteCalibrator * getCalibratorDevice() override
getCalibratorDevice: return the pointer stored with the setCalibratorDevice
FakeCalibrator()
Default constructor.
yarp::dev::ReturnValue park(DeviceDriver *dd, bool wait=true) override
~FakeCalibrator()
Destructor.
yarp::dev::ReturnValue quitPark() override
Interface implemented by all device drivers.
bool view(T *&x)
Get an interface to the device driver.
virtual yarp::dev::ReturnValue setCalibrationParameters(int axis, const CalibrationParameters ¶ms)=0
Start calibration, this method is very often platform specific.
IRemoteCalibrator interface is meant to remotize the access of the calibration device in order to all...
A container for a device driver.
A mini-server for performing network communication in the background.
A base class for nested structures that can be searched.
#define yCError(component,...)
#define yCWarning(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.