YARP
Yet Another Robot Platform
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>
14 namespace yarp{
15  namespace dev {
16  class ImplementControlCalibration;
17  }
18 }
19 
21 {
22 protected:
24  void *helper;
25  double *temp;
26 
35  bool initialize (int size, const int *amap, const double *enc, const double *zos);
36 
41  bool uninitialize ();
42 
43 public:
44  /* Constructor.
45  * @param y is the pointer to the class instance inheriting from this
46  * implementation.
47  */
49 
54 
55  bool calibrateAxisWithParams(int axis, unsigned int type, double p1, double p2, double p3) override;
56 
57  bool setCalibrationParameters(int axis, const CalibrationParameters& params) override;
58 
59  bool calibrationDone(int j) override;
60 };
61 
62 
63 #endif // YARP_DEV_IMPLEMENTCONTROLCALIBRATION_H
define control board standard interfaces
Interface for control devices, calibration commands.
Interface for control devices, calibration commands.
virtual bool setCalibrationParameters(int axis, const CalibrationParameters &params)
Start calibration, this method is very often platform specific.
virtual bool calibrationDone(int j)=0
Check if the calibration is terminated, on a particular joint.
virtual bool calibrateAxisWithParams(int axis, unsigned int type, double p1, double p2, double p3)=0
Start calibration, this method is very often platform specific.
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.
bool uninitialize()
Clean up internal data and memory.
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18