14 #ifndef YARP_THRIFT_GENERATOR_SERVICE_IOLREACHINGCALIBRATION_IDL_H
15 #define YARP_THRIFT_GENERATOR_SERVICE_IOLREACHINGCALIBRATION_IDL_H
17 #include <yarp/os/Wire.h>
18 #include <yarp/os/idl/WireTypes.h>
19 #include <src/CalibMatrixReq.h>
20 #include <src/CalibPointReq.h>
41 virtual bool calibration_start(
const std::string& hand,
const std::string&
object,
const std::string& entry =
"");
57 virtual bool calibration_clear(
const std::string& hand,
const std::string&
object,
const std::string& entry =
"");
108 virtual bool add_pair(
const std::string& entry,
const double xi,
const double yi,
const double zi,
const double xo,
const double yo,
const double zo);
123 virtual std::vector<std::string> help(
const std::string& functionName =
"--all");
126 bool read(yarp::os::ConnectionReader& connection)
override;
CalibMatrixReq IDL structure to ask for calibration matrix.
CalibPointReq IDL structure to send/receive points.
iolReachingCalibration_IDL IDL Interface to IOL Reaching Calibration services.
virtual bool calibration_start(const std::string &hand, const std::string &object, const std::string &entry="")
Initiate the calibration.
virtual std::vector< std::string > calibration_list()
List available calibrations.
virtual bool save()
Save calibration on file.
virtual CalibPointReq get_location_nolook(const std::string &entry, const double x, const double y, const double z, const bool invert=0)
Retrieve the calibrated object location.
virtual bool load()
Load calibration from file.
virtual bool add_pair(const std::string &entry, const double xi, const double yi, const double zi, const double xo, const double yo, const double zo)
Add an input-ouput pair to the location map.
virtual CalibMatrixReq get_matrix(const std::string &entry)
Retrieve the calibration matrix.
virtual bool calibration_clear(const std::string &hand, const std::string &object, const std::string &entry="")
Clear calibration.
virtual bool calibration_stop()
Finish the calibration.
virtual CalibPointReq get_location(const std::string &hand, const std::string &object, const std::string &entry="")
Retrieve the calibrated object location.