YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ImplementControlCalibration.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_DEV_IMPLEMENTCONTROLCALIBRATION_H
7#define YARP_DEV_IMPLEMENTCONTROLCALIBRATION_H
8
12
13#include <yarp/dev/api.h>
14namespace yarp::dev {
15class ImplementControlCalibration;
16}
17
19{
20protected:
22 void *helper;
23 double *temp;
24
33 bool initialize (int size, const int *amap, const double *enc, const double *zos);
34
39 bool uninitialize ();
40
41public:
42 /* Constructor.
43 * @param y is the pointer to the class instance inheriting from this
44 * implementation.
45 */
47
52
53 bool calibrateAxisWithParams(int axis, unsigned int type, double p1, double p2, double p3) override;
54
55 bool setCalibrationParameters(int axis, const CalibrationParameters& params) override;
56
57 bool calibrationDone(int j) override;
58};
59
60
61#endif // YARP_DEV_IMPLEMENTCONTROLCALIBRATION_H
define control board standard interfaces
Interface for control devices, calibration commands.
Interface for control devices, calibration commands.
bool calibrationDone(int j) override
Check if the calibration is terminated, on a particular joint.
bool setCalibrationParameters(int axis, const CalibrationParameters &params) override
Start calibration, this method is very often platform specific.
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
bool calibrateAxisWithParams(int axis, unsigned int type, double p1, double p2, double p3) override
Start calibration, this method is very often platform specific.
bool uninitialize()
Clean up internal data and memory.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_dev_API
Definition api.h:18