|
iCub-main
|
depth2kin_IDL IDL Interface to depth2kin services. More...
#include <depth2kin_IDL.h>
Inheritance diagram for depth2kin_IDL:Public Member Functions | |
| depth2kin_IDL () | |
| virtual std::int32_t | getNumExperts () |
| Return the number of available experts. | |
| virtual bool | clearExperts () |
| Clear the list of currently available experts. | |
| virtual bool | load () |
| Reload the list of experts stored within the configuration file. | |
| virtual bool | save () |
| Save the current list of experts into the configuration file. | |
| virtual bool | log (const std::string &type) |
| Store on file the log of system response computed out of the explored set of input-output pairs. | |
| virtual bool | explore () |
| Start the exploration phase. | |
| virtual bool | stop () |
| Yield an asynchronous stop of the exploration phase. | |
| virtual bool | setMaxDist (const double max_dist) |
| Set the maximum allowed distance between the depth point and kinematic prediction to enable data collection. | |
| virtual double | getMaxDist () |
| Return the maximum allowed distance between depth point and kinematic prediction to enable data collection. | |
| virtual bool | setRoi (const std::int32_t side) |
| Set the side of the squared window used to filter data collection in the image plane. | |
| virtual std::int32_t | getRoi () |
| Return the side of the squared window used to filter data collection in the image plane. | |
| virtual bool | setBlockEyes (const double block_eyes) |
| Set the vergence angle used to keep the gaze fixed. | |
| virtual double | getBlockEyes () |
| Return the current angle to keep the vergence at. | |
| virtual bool | blockEyes () |
| Tell the gaze to immediately steer the eyes to the stored vergence angle and stay still. | |
| virtual bool | clearEyes () |
| Remove the block on the eyes. | |
| virtual bool | setArm (const std::string &arm) |
| Select the arm to deal with. | |
| virtual std::string | getArm () |
| Return the current arm. | |
| virtual bool | setCalibrationType (const std::string &type, const std::string &extrapolation="auto") |
| Set up the calibrator type. | |
| virtual std::string | getCalibrationType () |
| Return the current calibration type. | |
| virtual yarp::os::Property | calibrate (const bool rm_outliers=true) |
| Ask the current calibrator to carry out the calibration. | |
| virtual bool | pushCalibrator () |
| Push the current calibrator in the list of experts. | |
| virtual bool | setTouchWithExperts (const std::string &sw) |
| Enable/disable the use of experts for touch test. | |
| virtual std::string | getTouchWithExperts () |
| Return the current status of the switch for experts usage during touch test. | |
| virtual bool | touch (const std::int32_t u, const std::int32_t v) |
| Yield a touch action with the finger on a depth point. | |
| virtual PointReq | getPoint (const std::string &arm, const double x, const double y, const double z) |
| Retrieve the compensated kinematic point corresponding to the input depth point. | |
| virtual std::vector< PointReq > | getPoints (const std::string &arm, const std::vector< double > &coordinates) |
| Retrieve the compensated kinematic points corresponding to the input depth points. | |
| virtual bool | setExperiment (const std::string &exp, const std::string &v) |
| Set on/off an experiment. | |
| virtual std::string | getExperiment (const std::string &exp) |
| Return the current status of the experiment. | |
| virtual yarp::sig::Vector | getExtrinsics (const std::string &eye) |
| Retrieve the current extrinsics camera parameters. | |
| virtual bool | resetExtrinsics (const std::string &eye) |
| Reset the extrinsics matrix to default eye matrix. | |
| virtual bool | setExplorationWait (const double wait) |
| Set up the wait timeout used during exploration between two consecutive data points. | |
| virtual double | getExplorationWait () |
| Return the current wait timeout used during exploration between two consecutive data points. | |
| virtual bool | setExplorationInTargetTol (const double tol) |
| Set up the cartesian tolerance used during exploration. | |
| virtual double | getExplorationInTargetTol () |
| Return the current cartesian tolerance used during exploration. | |
| virtual bool | setTouchInTargetTol (const double tol) |
| Set up the cartesian tolerance used during a touch actions. | |
| virtual double | getTouchInTargetTol () |
| Return the current cartesian tolerance used during touch actions. | |
| virtual bool | setExplorationSpace (const double cx, const double cy, const double cz, const double a, const double b) |
| Set up the internally coded exploration space composed by two co-centered ellipses, one orthogonal to other, and defined by means of the center and the two semi-axes. | |
| virtual bool | setExplorationSpaceDelta (const double dcx=0.000000, const double dcy=0.000000, const double dcz=0.000000, const double da=0.000000, const double db=0.000000) |
| Set up the exploration space in terms of differences with respect to the internally coded couple of ellipses. | |
| virtual yarp::os::Property | getExplorationData () |
| Return some progress about the ongoing exploration. | |
| virtual bool | clearExplorationData () |
| Clean up the internal list of explored points pairs. | |
| virtual bool | posture (const std::string &type) |
| Make the robot reach a predefined posture. | |
| virtual bool | calibrateDepth () |
| Put the robot in a suitable predefined posture and then execute depth calibration. | |
| virtual bool | quit () |
| Quit the module. | |
| virtual std::vector< std::string > | help (const std::string &functionName="--all") |
| bool | read (yarp::os::ConnectionReader &connection) override |
depth2kin_IDL IDL Interface to depth2kin services.
Definition at line 24 of file depth2kin_IDL.h.
| depth2kin_IDL::depth2kin_IDL | ( | ) |
|
virtual |
Tell the gaze to immediately steer the eyes to the stored vergence angle and stay still.
Reimplemented in CalibModule.
|
virtual |
Ask the current calibrator to carry out the calibration.
| rm_outliers | if true outliers removal is performed. |
calibrator, aligner. Reimplemented in CalibModule.
|
virtual |
Put the robot in a suitable predefined posture and then execute depth calibration.
Reimplemented in CalibModule.
|
virtual |
Clear the list of currently available experts.
Reimplemented in CalibModule.
|
virtual |
Clean up the internal list of explored points pairs.
Reimplemented in CalibModule.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Return the current angle to keep the vergence at.
Reimplemented in CalibModule.
|
virtual |
|
virtual |
Return the current status of the experiment.
| exp | the experiment (depth2kin or aligneyes) |
on/off. Reimplemented in CalibModule.
|
virtual |
Return some progress about the ongoing exploration.
Reimplemented in CalibModule.
|
virtual |
Return the current cartesian tolerance used during exploration.
Reimplemented in CalibModule.
|
virtual |
Return the current wait timeout used during exploration between two consecutive data points.
Reimplemented in CalibModule.
|
virtual |
Retrieve the current extrinsics camera parameters.
| eye | is left or right camera eye. |
Reimplemented in CalibModule.
|
virtual |
Return the maximum allowed distance between depth point and kinematic prediction to enable data collection.
Reimplemented in CalibModule.
|
virtual |
Return the number of available experts.
Reimplemented in CalibModule.
|
virtual |
Retrieve the compensated kinematic point corresponding to the input depth point.
| arm | accounts for left or right list of experts. |
| x | the x-coordinate of the depth point. |
| y | the y-coordinate of the depth point. |
| z | the z-coordinate of the depth point. |
Reimplemented in CalibModule.
|
virtual |
Retrieve the compensated kinematic points corresponding to the input depth points.
| arm | accounts for left or right list of experts. |
| coordinates | the 3D coordinates of the depth points. |
Reimplemented in CalibModule.
|
virtual |
Return the side of the squared window used to filter data collection in the image plane.
Reimplemented in CalibModule.
|
virtual |
Return the current cartesian tolerance used during touch actions.
Reimplemented in CalibModule.
|
virtual |
Return the current status of the switch for experts usage during touch test.
on/off if experts are used/not-used. Reimplemented in CalibModule.
|
virtual |
|
virtual |
Reload the list of experts stored within the configuration file.
Reimplemented in CalibModule.
|
virtual |
Store on file the log of system response computed out of the explored set of input-output pairs.
| type | can be experts or calibrator, accounting either for the response of mixture of available experts or the output of the current calibrator, respectively. |
calibrator is selected and calibration has not been performed yet. Reimplemented in CalibModule.
|
virtual |
Make the robot reach a predefined posture.
| type | can be one of the following: home, look_hands. |
Reimplemented in CalibModule.
|
virtual |
Push the current calibrator in the list of experts.
Reimplemented in CalibModule.
|
virtual |
|
override |
|
virtual |
Reset the extrinsics matrix to default eye matrix.
| eye | is left or right camera eye. |
Reimplemented in CalibModule.
|
virtual |
Save the current list of experts into the configuration file.
Reimplemented in CalibModule.
|
virtual |
Select the arm to deal with.
| arm | is left or right. |
Reimplemented in CalibModule.
|
virtual |
Set the vergence angle used to keep the gaze fixed.
| block_eyes | the value in degrees of the vergence. It must be equal or greater than the minimum vergence angle allowed by the gaze controller. |
Reimplemented in CalibModule.
|
virtual |
Set up the calibrator type.
| type | can be one of the following: se3, se3+scale, affine, lssvm. |
| extrapolation | specifies whether the calibrator will be used for extrapolating data (true) or not (false); if auto is provided, then automatic choice is taken depending on the type. |
Reimplemented in CalibModule.
|
virtual |
Set on/off an experiment.
| exp | the experiment (depth2kin or aligneyes) to switch on/off. |
| v | is on or off. |
Reimplemented in CalibModule.
|
virtual |
Set up the cartesian tolerance used during exploration.
| tol | the overall tolerance employed for the cartesian movements. |
Reimplemented in CalibModule.
|
virtual |
Set up the internally coded exploration space composed by two co-centered ellipses, one orthogonal to other, and defined by means of the center and the two semi-axes.
| cx | the center x-coordinate. |
| cy | the center y-coordinate. |
| cz | the center z-coordiante. |
| a | the major semi-axis length. |
| b | the minor semi-axis length. |
Reimplemented in CalibModule.
|
virtual |
Set up the exploration space in terms of differences with respect to the internally coded couple of ellipses.
| dcx | the center delta x-coordinate. |
| dcy | the center delta y-coordinate. |
| dcz | the center delta z-coordiante. |
| da | the major semi-axis delta length. |
| db | the minor semi-axis delta length. |
Reimplemented in CalibModule.
|
virtual |
Set up the wait timeout used during exploration between two consecutive data points.
| wait | the timeout in seconds. |
Reimplemented in CalibModule.
|
virtual |
Set the maximum allowed distance between the depth point and kinematic prediction to enable data collection.
| max_dist | the value in meters. |
Reimplemented in CalibModule.
|
virtual |
Set the side of the squared window used to filter data collection in the image plane.
| side | the length of the window side. |
|
virtual |
Set up the cartesian tolerance used during a touch actions.
| tol | the overall tolerance employed for the cartesian movements. |
Reimplemented in CalibModule.
|
virtual |
Enable/disable the use of experts for touch test.
| switch | is on/off to use/not-use the experts. |
Reimplemented in CalibModule.
|
virtual |
Yield an asynchronous stop of the exploration phase.
Reimplemented in CalibModule.
|
virtual |
Yield a touch action with the finger on a depth point.
| u | the u-coordinate of the depth point in the image plane. |
| v | the v-coordinate of the depth point in the image plane. |