YARP
Yet Another Robot Platform
IRemoteCalibrator.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_DEV_REMOTECALIBRATOR_H
8#define YARP_DEV_REMOTECALIBRATOR_H
9
11
12namespace yarp::dev {
13
26{
27private:
28 yarp::dev::IRemoteCalibrator* _remoteCalibrator;
29
30public:
32
33 virtual ~IRemoteCalibrator() = default;
34
44 virtual bool setCalibratorDevice(yarp::dev::IRemoteCalibrator* dev);
45
50 virtual yarp::dev::IRemoteCalibrator* getCalibratorDevice();
51
56 virtual bool isCalibratorDevicePresent(bool* isCalib);
57
61 virtual void releaseCalibratorDevice();
62
68 virtual bool calibrateSingleJoint(int j) = 0;
69
74 virtual bool calibrateWholePart() = 0;
75
81 virtual bool homingSingleJoint(int j) = 0;
82
87 virtual bool homingWholePart() = 0;
88
93 virtual bool parkSingleJoint(int j, bool _wait = true) = 0;
94
99 virtual bool parkWholePart() = 0;
100
105 virtual bool quitCalibrate() = 0;
106
111 virtual bool quitPark() = 0;
112};
113
114} // namespace yarp::dev
115
116#endif // YARP_DEV_REMOTECALIBRATOR_H
IRemoteCalibrator interface is meant to remotize the access of the calibration device in order to all...
virtual bool parkWholePart()=0
parkWholePart: start the parking procedure for the whole part
virtual bool homingSingleJoint(int j)=0
homingSingleJoint: call the homing procedure for a single joint
virtual bool homingWholePart()=0
homingWholePart: call the homing procedure for a the whole part/device
virtual bool quitPark()=0
quitPark: interrupt the park procedure
virtual bool parkSingleJoint(int j, bool _wait=true)=0
parkSingleJoint(): start the parking procedure for the single joint
virtual bool calibrateSingleJoint(int j)=0
calibrateSingleJoint: call the calibration procedure for the single joint
virtual bool calibrateWholePart()=0
calibrateWholePart: call the procedure for calibrating the whole device
virtual bool quitCalibrate()=0
quitCalibrate: interrupt the calibration procedure
virtual ~IRemoteCalibrator()=default
For streams capable of holding different kinds of content, check what they actually have.
#define YARP_dev_API
Definition: api.h:18