iCub-main
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MotorThread Class Reference

#include <MotorThread.h>

+ Inheritance diagram for MotorThread:

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)
 

Detailed Description

Definition at line 109 of file MotorThread.h.

Constructor & Destructor Documentation

◆ MotorThread()

MotorThread::MotorThread ( ResourceFinder &  _rf,
Initializer initializer 
)
inline

Definition at line 252 of file MotorThread.h.

Member Function Documentation

◆ calibFingers()

bool MotorThread::calibFingers ( Bottle &  options)

Definition at line 2597 of file MotorThread.cpp.

◆ calibTable()

bool MotorThread::calibTable ( Bottle &  options)

Definition at line 2506 of file MotorThread.cpp.

◆ changeElbowHeight()

bool MotorThread::changeElbowHeight ( const int  arm,
const double  height,
const double  weight 
)

Definition at line 2141 of file MotorThread.cpp.

◆ changeExecTime()

bool MotorThread::changeExecTime ( const int  arm,
const double  execTime 
)

Definition at line 2183 of file MotorThread.cpp.

◆ clearIt()

bool MotorThread::clearIt ( Bottle &  options)

Definition at line 2078 of file MotorThread.cpp.

◆ deploy()

bool MotorThread::deploy ( Bottle &  options)

Definition at line 2342 of file MotorThread.cpp.

◆ drawNear()

bool MotorThread::drawNear ( Bottle &  options)

Definition at line 2421 of file MotorThread.cpp.

◆ expect()

bool MotorThread::expect ( Bottle &  options)

Definition at line 1989 of file MotorThread.cpp.

◆ exploreHand()

bool MotorThread::exploreHand ( Bottle &  options)

Definition at line 2814 of file MotorThread.cpp.

◆ exploreTorso()

bool MotorThread::exploreTorso ( Bottle &  options)

Definition at line 2682 of file MotorThread.cpp.

◆ getHandImagePosition()

bool MotorThread::getHandImagePosition ( Bottle &  hand_image_pos)

Definition at line 2467 of file MotorThread.cpp.

◆ getStatus()

void MotorThread::getStatus ( Bottle &  status)

Definition at line 3193 of file MotorThread.cpp.

◆ getTableHeight()

bool MotorThread::getTableHeight ( double *  _table_height)
inline

Definition at line 374 of file MotorThread.h.

◆ give()

bool MotorThread::give ( Bottle &  options)

Definition at line 2034 of file MotorThread.cpp.

◆ goHome()

bool MotorThread::goHome ( Bottle &  options)

Definition at line 2250 of file MotorThread.cpp.

◆ goUp()

bool MotorThread::goUp ( Bottle &  options,
const double  h = std::numeric_limits<double>::quiet_NaN() 
)

Definition at line 1563 of file MotorThread.cpp.

◆ grasp()

bool MotorThread::grasp ( const Bottle &  options)

Definition at line 2124 of file MotorThread.cpp.

◆ hand()

bool MotorThread::hand ( const Bottle &  options,
const string &  type = "",
bool *  holding = NULL 
)

Definition at line 2086 of file MotorThread.cpp.

◆ imitateAction()

bool MotorThread::imitateAction ( Bottle &  options)

Definition at line 3022 of file MotorThread.cpp.

◆ interrupt()

void MotorThread::interrupt ( )

Definition at line 3284 of file MotorThread.cpp.

◆ isHolding()

bool MotorThread::isHolding ( const Bottle &  options)

Definition at line 2490 of file MotorThread.cpp.

◆ keepFixation()

void MotorThread::keepFixation ( Bottle &  options)
inline

Definition at line 322 of file MotorThread.h.

◆ look()

bool MotorThread::look ( Bottle &  options)

Definition at line 1905 of file MotorThread.cpp.

◆ lookAtHand()

void MotorThread::lookAtHand ( Bottle &  options)
inline

Definition at line 315 of file MotorThread.h.

◆ onStop()

void MotorThread::onStop ( )
virtual

Definition at line 1553 of file MotorThread.cpp.

◆ point()

bool MotorThread::point ( Bottle &  options)

Definition at line 1797 of file MotorThread.cpp.

◆ point_far()

bool MotorThread::point_far ( Bottle &  options)

Definition at line 1842 of file MotorThread.cpp.

◆ powerGrasp()

bool MotorThread::powerGrasp ( Bottle &  options)

Definition at line 1678 of file MotorThread.cpp.

◆ push()

bool MotorThread::push ( Bottle &  options)

Definition at line 1744 of file MotorThread.cpp.

◆ reach()

bool MotorThread::reach ( Bottle &  options)

Definition at line 1585 of file MotorThread.cpp.

◆ reinstate()

void MotorThread::reinstate ( )

Definition at line 3317 of file MotorThread.cpp.

◆ release()

bool MotorThread::release ( const Bottle &  options)

Definition at line 2134 of file MotorThread.cpp.

◆ run()

void MotorThread::run ( )
virtual

Definition at line 1349 of file MotorThread.cpp.

◆ setArmInUse()

bool MotorThread::setArmInUse ( int  arm)
inline

Definition at line 338 of file MotorThread.h.

◆ setGazeIdle()

void MotorThread::setGazeIdle ( )
inline

Definition at line 331 of file MotorThread.h.

◆ setGraspState()

void MotorThread::setGraspState ( bool  side)
inline

Definition at line 432 of file MotorThread.h.

◆ setImpedance()

bool MotorThread::setImpedance ( bool  turn_on)

Definition at line 204 of file MotorThread.cpp.

◆ setStereoToCartesianMode() [1/2]

int MotorThread::setStereoToCartesianMode ( const int  mode)

Definition at line 249 of file MotorThread.cpp.

◆ setStereoToCartesianMode() [2/2]

int MotorThread::setStereoToCartesianMode ( const int  mode,
Bottle &  reply 
)

Definition at line 256 of file MotorThread.cpp.

◆ setTorque()

bool MotorThread::setTorque ( bool  turn_on,
int  arm = ARM_IN_USE 
)

Definition at line 226 of file MotorThread.cpp.

◆ setWaveing()

bool MotorThread::setWaveing ( bool  _waveing)
inline

Definition at line 347 of file MotorThread.h.

◆ shiftAndGrasp()

bool MotorThread::shiftAndGrasp ( Bottle &  options)

Definition at line 2444 of file MotorThread.cpp.

◆ startLearningModeAction()

bool MotorThread::startLearningModeAction ( Bottle &  options)

Definition at line 2917 of file MotorThread.cpp.

◆ startLearningModeKinOffset()

bool MotorThread::startLearningModeKinOffset ( Bottle &  options)

Definition at line 3084 of file MotorThread.cpp.

◆ stereoToCartesian()

bool MotorThread::stereoToCartesian ( const Vector &  stereo,
Vector &  xd 
)

Definition at line 384 of file MotorThread.cpp.

◆ suspendLearningModeAction()

bool MotorThread::suspendLearningModeAction ( Bottle &  options)

Definition at line 2980 of file MotorThread.cpp.

◆ suspendLearningModeKinOffset()

bool MotorThread::suspendLearningModeKinOffset ( Bottle &  options)

Definition at line 3147 of file MotorThread.cpp.

◆ takeTool()

bool MotorThread::takeTool ( Bottle &  options)

Definition at line 1944 of file MotorThread.cpp.

◆ targetToCartesian()

bool MotorThread::targetToCartesian ( Bottle *  target,
Vector &  xd 
)

Definition at line 340 of file MotorThread.cpp.

◆ threadInit()

bool MotorThread::threadInit ( )
virtual

Definition at line 927 of file MotorThread.cpp.

◆ threadRelease()

void MotorThread::threadRelease ( )
virtual

Definition at line 1547 of file MotorThread.cpp.

◆ track()

void MotorThread::track ( Bottle &  options)
inline

Definition at line 288 of file MotorThread.h.

◆ update()

void MotorThread::update ( )

Definition at line 3268 of file MotorThread.cpp.

◆ wbdRecalibration()

bool MotorThread::wbdRecalibration ( )
inline

Definition at line 273 of file MotorThread.h.


The documentation for this class was generated from the following files: