YARP
Yet Another Robot Platform
ControlBoardWrapperRemoteCalibrator.cpp
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
7
8#include <yarp/os/LogStream.h>
9
11
13
15{
18}
19
21{
24}
25
27{
29 if (!getCalibratorDevice()) {
30 return false;
31 }
32
33 return IRemoteCalibrator::getCalibratorDevice()->calibrateSingleJoint(j);
34}
35
37{
39 if (!getCalibratorDevice()) {
40 return false;
41 }
42
44}
45
47{
49 if (!getCalibratorDevice()) {
50 return false;
51 }
52
54}
55
57{
59 if (!getCalibratorDevice()) {
60 return false;
61 }
62
64}
65
67{
69 if (!getCalibratorDevice()) {
70 return false;
71 }
72
73 return getCalibratorDevice()->parkSingleJoint(j, _wait);
74}
75
77{
79 if (!getCalibratorDevice()) {
80 return false;
81 }
82
84}
85
87{
89 if (!getCalibratorDevice()) {
90 return false;
91 }
92
94}
95
97{
99 if (!getCalibratorDevice()) {
100 return false;
101 }
102
103 return getCalibratorDevice()->quitPark();
104}
const yarp::os::LogComponent & CONTROLBOARD()
bool quitPark() override
quitPark: interrupt the park procedure
yarp::dev::IRemoteCalibrator * getCalibratorDevice() override
getCalibratorDevice: return the pointer stored with the setCalibratorDevice
bool isCalibratorDevicePresent(bool *isCalib) override
isCalibratorDevicePresent: check if a calibrator device has been set
bool parkSingleJoint(int j, bool _wait=true) override
parkSingleJoint(): start the parking procedure for the single joint
bool parkWholePart() override
parkWholePart: start the parking procedure for the whole part
bool homingSingleJoint(int j) override
homingSingleJoint: call the homing procedure for a single joint
bool quitCalibrate() override
quitCalibrate: interrupt the calibration procedure
bool homingWholePart() override
homingWholePart: call the homing procedure for a the whole part/device
bool calibrateSingleJoint(int j) override
calibrateSingleJoint: call the calibration procedure for the single joint
bool calibrateWholePart() override
calibrateWholePart: call the procedure for calibrating the whole device
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 isCalibratorDevicePresent(bool *isCalib)
isCalibratorDevicePresent: check if a calibrator device has been set
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 calibrateWholePart()=0
calibrateWholePart: call the procedure for calibrating the whole device
virtual bool quitCalibrate()=0
quitCalibrate: interrupt the calibration procedure
virtual yarp::dev::IRemoteCalibrator * getCalibratorDevice()
getCalibratorDevice: return the pointer stored with the setCalibratorDevice
#define yCTrace(component,...)
Definition: LogComponent.h:84