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 2596 of file MotorThread.cpp.
bool MotorThread::calibTable | ( | Bottle & | options | ) |
Definition at line 2505 of file MotorThread.cpp.
bool MotorThread::changeElbowHeight | ( | const int | arm, |
const double | height, | ||
const double | weight | ||
) |
Definition at line 2140 of file MotorThread.cpp.
bool MotorThread::changeExecTime | ( | const int | arm, |
const double | execTime | ||
) |
Definition at line 2182 of file MotorThread.cpp.
bool MotorThread::clearIt | ( | Bottle & | options | ) |
Definition at line 2077 of file MotorThread.cpp.
bool MotorThread::deploy | ( | Bottle & | options | ) |
Definition at line 2341 of file MotorThread.cpp.
bool MotorThread::drawNear | ( | Bottle & | options | ) |
Definition at line 2420 of file MotorThread.cpp.
bool MotorThread::expect | ( | Bottle & | options | ) |
Definition at line 1988 of file MotorThread.cpp.
bool MotorThread::exploreHand | ( | Bottle & | options | ) |
Definition at line 2811 of file MotorThread.cpp.
bool MotorThread::exploreTorso | ( | Bottle & | options | ) |
Definition at line 2679 of file MotorThread.cpp.
bool MotorThread::getHandImagePosition | ( | Bottle & | hand_image_pos | ) |
Definition at line 2466 of file MotorThread.cpp.
void MotorThread::getStatus | ( | Bottle & | status | ) |
Definition at line 3189 of file MotorThread.cpp.
|
inline |
Definition at line 374 of file MotorThread.h.
bool MotorThread::give | ( | Bottle & | options | ) |
Definition at line 2033 of file MotorThread.cpp.
bool MotorThread::goHome | ( | Bottle & | options | ) |
Definition at line 2249 of file MotorThread.cpp.
bool MotorThread::goUp | ( | Bottle & | options, |
const double | h = std::numeric_limits<double>::quiet_NaN() |
||
) |
Definition at line 1562 of file MotorThread.cpp.
bool MotorThread::grasp | ( | const Bottle & | options | ) |
Definition at line 2123 of file MotorThread.cpp.
bool MotorThread::hand | ( | const Bottle & | options, |
const string & | type = "" , |
||
bool * | holding = NULL |
||
) |
Definition at line 2085 of file MotorThread.cpp.
bool MotorThread::imitateAction | ( | Bottle & | options | ) |
Definition at line 3018 of file MotorThread.cpp.
void MotorThread::interrupt | ( | ) |
Definition at line 3280 of file MotorThread.cpp.
bool MotorThread::isHolding | ( | const Bottle & | options | ) |
Definition at line 2489 of file MotorThread.cpp.
|
inline |
Definition at line 322 of file MotorThread.h.
bool MotorThread::look | ( | Bottle & | options | ) |
Definition at line 1904 of file MotorThread.cpp.
|
inline |
Definition at line 315 of file MotorThread.h.
|
virtual |
Definition at line 1552 of file MotorThread.cpp.
bool MotorThread::point | ( | Bottle & | options | ) |
Definition at line 1796 of file MotorThread.cpp.
bool MotorThread::point_far | ( | Bottle & | options | ) |
Definition at line 1841 of file MotorThread.cpp.
bool MotorThread::powerGrasp | ( | Bottle & | options | ) |
Definition at line 1677 of file MotorThread.cpp.
bool MotorThread::push | ( | Bottle & | options | ) |
Definition at line 1743 of file MotorThread.cpp.
bool MotorThread::reach | ( | Bottle & | options | ) |
Definition at line 1584 of file MotorThread.cpp.
void MotorThread::reinstate | ( | ) |
Definition at line 3313 of file MotorThread.cpp.
bool MotorThread::release | ( | const Bottle & | options | ) |
Definition at line 2133 of file MotorThread.cpp.
|
virtual |
Definition at line 1348 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 203 of file MotorThread.cpp.
int MotorThread::setStereoToCartesianMode | ( | const int | mode | ) |
Definition at line 248 of file MotorThread.cpp.
int MotorThread::setStereoToCartesianMode | ( | const int | mode, |
Bottle & | reply | ||
) |
Definition at line 255 of file MotorThread.cpp.
bool MotorThread::setTorque | ( | bool | turn_on, |
int | arm = ARM_IN_USE |
||
) |
Definition at line 225 of file MotorThread.cpp.
|
inline |
Definition at line 347 of file MotorThread.h.
bool MotorThread::shiftAndGrasp | ( | Bottle & | options | ) |
Definition at line 2443 of file MotorThread.cpp.
bool MotorThread::startLearningModeAction | ( | Bottle & | options | ) |
Definition at line 2914 of file MotorThread.cpp.
bool MotorThread::startLearningModeKinOffset | ( | Bottle & | options | ) |
Definition at line 3080 of file MotorThread.cpp.
bool MotorThread::stereoToCartesian | ( | const Vector & | stereo, |
Vector & | xd | ||
) |
Definition at line 383 of file MotorThread.cpp.
bool MotorThread::suspendLearningModeAction | ( | Bottle & | options | ) |
Definition at line 2977 of file MotorThread.cpp.
bool MotorThread::suspendLearningModeKinOffset | ( | Bottle & | options | ) |
Definition at line 3143 of file MotorThread.cpp.
bool MotorThread::takeTool | ( | Bottle & | options | ) |
Definition at line 1943 of file MotorThread.cpp.
bool MotorThread::targetToCartesian | ( | Bottle * | target, |
Vector & | xd | ||
) |
Definition at line 339 of file MotorThread.cpp.
|
virtual |
Definition at line 926 of file MotorThread.cpp.
|
virtual |
Definition at line 1546 of file MotorThread.cpp.
|
inline |
Definition at line 288 of file MotorThread.h.
void MotorThread::update | ( | ) |
Definition at line 3264 of file MotorThread.cpp.
|
inline |
Definition at line 273 of file MotorThread.h.