iCub-main
|
#include <MotorThread.h>
Public Member Functions | |
MotorThread (ResourceFinder &_rf, Initializer *initializer) | |
virtual bool | threadInit () |
virtual void | run () |
virtual void | threadRelease () |
virtual void | onStop () |
bool | wbdRecalibration () |
void | track (Bottle &options) |
void | lookAtHand (Bottle &options) |
void | keepFixation (Bottle &options) |
void | setGazeIdle () |
bool | setArmInUse (int arm) |
bool | setWaveing (bool _waveing) |
void | update () |
void | interrupt () |
void | reinstate () |
bool | getTableHeight (double *_table_height) |
bool | stereoToCartesian (const Vector &stereo, Vector &xd) |
bool | targetToCartesian (Bottle *target, Vector &xd) |
bool | goUp (Bottle &options, const double h=std::numeric_limits< double >::quiet_NaN()) |
bool | goHome (Bottle &options) |
bool | reach (Bottle &options) |
bool | powerGrasp (Bottle &options) |
bool | push (Bottle &options) |
bool | point (Bottle &options) |
bool | point_far (Bottle &options) |
bool | look (Bottle &options) |
bool | hand (const Bottle &options, const string &type="", bool *holding=NULL) |
bool | grasp (const Bottle &options) |
bool | release (const Bottle &options) |
bool | deploy (Bottle &options) |
bool | drawNear (Bottle &options) |
bool | shiftAndGrasp (Bottle &options) |
bool | expect (Bottle &options) |
bool | give (Bottle &options) |
bool | clearIt (Bottle &options) |
bool | exploreTorso (Bottle &options) |
bool | exploreHand (Bottle &options) |
bool | takeTool (Bottle &options) |
bool | getHandImagePosition (Bottle &hand_image_pos) |
bool | isHolding (const Bottle &options) |
bool | calibTable (Bottle &options) |
bool | calibFingers (Bottle &options) |
bool | startLearningModeAction (Bottle &options) |
bool | suspendLearningModeAction (Bottle &options) |
bool | imitateAction (Bottle &options) |
bool | startLearningModeKinOffset (Bottle &options) |
bool | suspendLearningModeKinOffset (Bottle &options) |
bool | changeElbowHeight (const int arm, const double height, const double weight) |
bool | changeExecTime (const int arm, const double execTime) |
bool | setImpedance (bool turn_on) |
bool | setTorque (bool turn_on, int arm=ARM_IN_USE) |
int | setStereoToCartesianMode (const int mode, Bottle &reply) |
int | setStereoToCartesianMode (const int mode) |
void | setGraspState (bool side) |
void | getStatus (Bottle &status) |
Definition at line 109 of file MotorThread.h.
|
inline |
Definition at line 252 of file MotorThread.h.
bool MotorThread::calibFingers | ( | Bottle & | options | ) |
Definition at line 2597 of file MotorThread.cpp.
bool MotorThread::calibTable | ( | Bottle & | options | ) |
Definition at line 2506 of file MotorThread.cpp.
bool MotorThread::changeElbowHeight | ( | const int | arm, |
const double | height, | ||
const double | weight | ||
) |
Definition at line 2141 of file MotorThread.cpp.
bool MotorThread::changeExecTime | ( | const int | arm, |
const double | execTime | ||
) |
Definition at line 2183 of file MotorThread.cpp.
bool MotorThread::clearIt | ( | Bottle & | options | ) |
Definition at line 2078 of file MotorThread.cpp.
bool MotorThread::deploy | ( | Bottle & | options | ) |
Definition at line 2342 of file MotorThread.cpp.
bool MotorThread::drawNear | ( | Bottle & | options | ) |
Definition at line 2421 of file MotorThread.cpp.
bool MotorThread::expect | ( | Bottle & | options | ) |
Definition at line 1989 of file MotorThread.cpp.
bool MotorThread::exploreHand | ( | Bottle & | options | ) |
Definition at line 2814 of file MotorThread.cpp.
bool MotorThread::exploreTorso | ( | Bottle & | options | ) |
Definition at line 2682 of file MotorThread.cpp.
bool MotorThread::getHandImagePosition | ( | Bottle & | hand_image_pos | ) |
Definition at line 2467 of file MotorThread.cpp.
void MotorThread::getStatus | ( | Bottle & | status | ) |
Definition at line 3193 of file MotorThread.cpp.
|
inline |
Definition at line 374 of file MotorThread.h.
bool MotorThread::give | ( | Bottle & | options | ) |
Definition at line 2034 of file MotorThread.cpp.
bool MotorThread::goHome | ( | Bottle & | options | ) |
Definition at line 2250 of file MotorThread.cpp.
bool MotorThread::goUp | ( | Bottle & | options, |
const double | h = std::numeric_limits<double>::quiet_NaN() |
||
) |
Definition at line 1563 of file MotorThread.cpp.
bool MotorThread::grasp | ( | const Bottle & | options | ) |
Definition at line 2124 of file MotorThread.cpp.
bool MotorThread::hand | ( | const Bottle & | options, |
const string & | type = "" , |
||
bool * | holding = NULL |
||
) |
Definition at line 2086 of file MotorThread.cpp.
bool MotorThread::imitateAction | ( | Bottle & | options | ) |
Definition at line 3022 of file MotorThread.cpp.
void MotorThread::interrupt | ( | ) |
Definition at line 3284 of file MotorThread.cpp.
bool MotorThread::isHolding | ( | const Bottle & | options | ) |
Definition at line 2490 of file MotorThread.cpp.
|
inline |
Definition at line 322 of file MotorThread.h.
bool MotorThread::look | ( | Bottle & | options | ) |
Definition at line 1905 of file MotorThread.cpp.
|
inline |
Definition at line 315 of file MotorThread.h.
|
virtual |
Definition at line 1553 of file MotorThread.cpp.
bool MotorThread::point | ( | Bottle & | options | ) |
Definition at line 1797 of file MotorThread.cpp.
bool MotorThread::point_far | ( | Bottle & | options | ) |
Definition at line 1842 of file MotorThread.cpp.
bool MotorThread::powerGrasp | ( | Bottle & | options | ) |
Definition at line 1678 of file MotorThread.cpp.
bool MotorThread::push | ( | Bottle & | options | ) |
Definition at line 1744 of file MotorThread.cpp.
bool MotorThread::reach | ( | Bottle & | options | ) |
Definition at line 1585 of file MotorThread.cpp.
void MotorThread::reinstate | ( | ) |
Definition at line 3317 of file MotorThread.cpp.
bool MotorThread::release | ( | const Bottle & | options | ) |
Definition at line 2134 of file MotorThread.cpp.
|
virtual |
Definition at line 1349 of file MotorThread.cpp.
|
inline |
Definition at line 338 of file MotorThread.h.
|
inline |
Definition at line 331 of file MotorThread.h.
|
inline |
Definition at line 432 of file MotorThread.h.
bool MotorThread::setImpedance | ( | bool | turn_on | ) |
Definition at line 204 of file MotorThread.cpp.
int MotorThread::setStereoToCartesianMode | ( | const int | mode | ) |
Definition at line 249 of file MotorThread.cpp.
int MotorThread::setStereoToCartesianMode | ( | const int | mode, |
Bottle & | reply | ||
) |
Definition at line 256 of file MotorThread.cpp.
bool MotorThread::setTorque | ( | bool | turn_on, |
int | arm = ARM_IN_USE |
||
) |
Definition at line 226 of file MotorThread.cpp.
|
inline |
Definition at line 347 of file MotorThread.h.
bool MotorThread::shiftAndGrasp | ( | Bottle & | options | ) |
Definition at line 2444 of file MotorThread.cpp.
bool MotorThread::startLearningModeAction | ( | Bottle & | options | ) |
Definition at line 2917 of file MotorThread.cpp.
bool MotorThread::startLearningModeKinOffset | ( | Bottle & | options | ) |
Definition at line 3084 of file MotorThread.cpp.
bool MotorThread::stereoToCartesian | ( | const Vector & | stereo, |
Vector & | xd | ||
) |
Definition at line 384 of file MotorThread.cpp.
bool MotorThread::suspendLearningModeAction | ( | Bottle & | options | ) |
Definition at line 2980 of file MotorThread.cpp.
bool MotorThread::suspendLearningModeKinOffset | ( | Bottle & | options | ) |
Definition at line 3147 of file MotorThread.cpp.
bool MotorThread::takeTool | ( | Bottle & | options | ) |
Definition at line 1944 of file MotorThread.cpp.
bool MotorThread::targetToCartesian | ( | Bottle * | target, |
Vector & | xd | ||
) |
Definition at line 340 of file MotorThread.cpp.
|
virtual |
Definition at line 927 of file MotorThread.cpp.
|
virtual |
Definition at line 1547 of file MotorThread.cpp.
|
inline |
Definition at line 288 of file MotorThread.h.
void MotorThread::update | ( | ) |
Definition at line 3268 of file MotorThread.cpp.
|
inline |
Definition at line 273 of file MotorThread.h.