iCub-main
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 2596 of file MotorThread.cpp.

◆ calibTable()

bool MotorThread::calibTable ( Bottle &  options)

Definition at line 2505 of file MotorThread.cpp.

◆ changeElbowHeight()

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

Definition at line 2140 of file MotorThread.cpp.

◆ changeExecTime()

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

Definition at line 2182 of file MotorThread.cpp.

◆ clearIt()

bool MotorThread::clearIt ( Bottle &  options)

Definition at line 2077 of file MotorThread.cpp.

◆ deploy()

bool MotorThread::deploy ( Bottle &  options)

Definition at line 2341 of file MotorThread.cpp.

◆ drawNear()

bool MotorThread::drawNear ( Bottle &  options)

Definition at line 2420 of file MotorThread.cpp.

◆ expect()

bool MotorThread::expect ( Bottle &  options)

Definition at line 1988 of file MotorThread.cpp.

◆ exploreHand()

bool MotorThread::exploreHand ( Bottle &  options)

Definition at line 2811 of file MotorThread.cpp.

◆ exploreTorso()

bool MotorThread::exploreTorso ( Bottle &  options)

Definition at line 2679 of file MotorThread.cpp.

◆ getHandImagePosition()

bool MotorThread::getHandImagePosition ( Bottle &  hand_image_pos)

Definition at line 2466 of file MotorThread.cpp.

◆ getStatus()

void MotorThread::getStatus ( Bottle &  status)

Definition at line 3189 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 2033 of file MotorThread.cpp.

◆ goHome()

bool MotorThread::goHome ( Bottle &  options)

Definition at line 2249 of file MotorThread.cpp.

◆ goUp()

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

Definition at line 1562 of file MotorThread.cpp.

◆ grasp()

bool MotorThread::grasp ( const Bottle &  options)

Definition at line 2123 of file MotorThread.cpp.

◆ hand()

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

Definition at line 2085 of file MotorThread.cpp.

◆ imitateAction()

bool MotorThread::imitateAction ( Bottle &  options)

Definition at line 3018 of file MotorThread.cpp.

◆ interrupt()

void MotorThread::interrupt ( )

Definition at line 3280 of file MotorThread.cpp.

◆ isHolding()

bool MotorThread::isHolding ( const Bottle &  options)

Definition at line 2489 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 1904 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 1552 of file MotorThread.cpp.

◆ point()

bool MotorThread::point ( Bottle &  options)

Definition at line 1796 of file MotorThread.cpp.

◆ point_far()

bool MotorThread::point_far ( Bottle &  options)

Definition at line 1841 of file MotorThread.cpp.

◆ powerGrasp()

bool MotorThread::powerGrasp ( Bottle &  options)

Definition at line 1677 of file MotorThread.cpp.

◆ push()

bool MotorThread::push ( Bottle &  options)

Definition at line 1743 of file MotorThread.cpp.

◆ reach()

bool MotorThread::reach ( Bottle &  options)

Definition at line 1584 of file MotorThread.cpp.

◆ reinstate()

void MotorThread::reinstate ( )

Definition at line 3313 of file MotorThread.cpp.

◆ release()

bool MotorThread::release ( const Bottle &  options)

Definition at line 2133 of file MotorThread.cpp.

◆ run()

void MotorThread::run ( void  )
virtual

Definition at line 1348 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 203 of file MotorThread.cpp.

◆ setStereoToCartesianMode() [1/2]

int MotorThread::setStereoToCartesianMode ( const int  mode)

Definition at line 248 of file MotorThread.cpp.

◆ setStereoToCartesianMode() [2/2]

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

Definition at line 255 of file MotorThread.cpp.

◆ setTorque()

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

Definition at line 225 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 2443 of file MotorThread.cpp.

◆ startLearningModeAction()

bool MotorThread::startLearningModeAction ( Bottle &  options)

Definition at line 2914 of file MotorThread.cpp.

◆ startLearningModeKinOffset()

bool MotorThread::startLearningModeKinOffset ( Bottle &  options)

Definition at line 3080 of file MotorThread.cpp.

◆ stereoToCartesian()

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

Definition at line 383 of file MotorThread.cpp.

◆ suspendLearningModeAction()

bool MotorThread::suspendLearningModeAction ( Bottle &  options)

Definition at line 2977 of file MotorThread.cpp.

◆ suspendLearningModeKinOffset()

bool MotorThread::suspendLearningModeKinOffset ( Bottle &  options)

Definition at line 3143 of file MotorThread.cpp.

◆ takeTool()

bool MotorThread::takeTool ( Bottle &  options)

Definition at line 1943 of file MotorThread.cpp.

◆ targetToCartesian()

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

Definition at line 339 of file MotorThread.cpp.

◆ threadInit()

bool MotorThread::threadInit ( )
virtual

Definition at line 926 of file MotorThread.cpp.

◆ threadRelease()

void MotorThread::threadRelease ( )
virtual

Definition at line 1546 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 3264 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: