#include <controller.h>
|
| | Controller (PolyDriver *_drvTorso, PolyDriver *_drvHead, ExchangeData *_commData, const double _neckTime, const double _eyesTime, const double _min_abs_vel, const unsigned int _period) |
| |
| virtual | ~Controller () |
| |
| void | findMinimumAllowedVergence () |
| |
| void | minAllowedVergenceChanged () override |
| |
| void | resetCtrlEyes () |
| |
| void | doSaccade (const Vector &ang, const Vector &vel) |
| |
| bool | look (const Vector &x) |
| |
| void | stopControl () |
| |
| void | printIter (Vector &xd, Vector &fp, Vector &qd, Vector &q, Vector &v, double printTime) |
| |
| bool | threadInit () override |
| |
| void | threadRelease () override |
| |
| void | afterStart (bool s) override |
| |
| void | run () override |
| |
| void | suspend () |
| |
| void | resume () |
| |
| double | getTneck () const |
| |
| double | getTeyes () const |
| |
| void | setTneck (const double execTime) |
| |
| void | setTeyes (const double execTime) |
| |
| bool | isMotionDone () |
| |
| void | setTrackingMode (const bool f) |
| |
| bool | getTrackingMode () const |
| |
| bool | setGazeStabilization (const bool f) |
| |
| bool | getGazeStabilization () const |
| |
| bool | getDesired (Vector &des) |
| |
| bool | getVelocity (Vector &vel) |
| |
| bool | getPose (const string &poseSel, Vector &x, Stamp &stamp) |
| |
| bool | registerMotionOngoingEvent (const double checkPoint) |
| |
| bool | unregisterMotionOngoingEvent (const double checkPoint) |
| |
| Bottle | listMotionOngoingEvents () |
| |
| | Controller (ResourceFinder &_rf, inPort *_port_q, exchangeData *_commData, unsigned int period) |
| |
| virtual bool | threadInit () |
| |
| virtual void | afterStart (bool s) |
| |
| virtual void | run () |
| |
| virtual void | threadRelease () |
| |
| virtual bool | getExtrinsicsMatrix (const string &type, Matrix &M) |
| |
| virtual bool | setExtrinsicsMatrix (const string &type, const Matrix &M) |
| |
Definition at line 53 of file controller.h.
◆ Controller() [1/2]
| Controller::Controller |
( |
PolyDriver * |
_drvTorso, |
|
|
PolyDriver * |
_drvHead, |
|
|
ExchangeData * |
_commData, |
|
|
const double |
_neckTime, |
|
|
const double |
_eyesTime, |
|
|
const double |
_min_abs_vel, |
|
|
const unsigned int |
_period |
|
) |
| |
◆ ~Controller()
| Controller::~Controller |
( |
| ) |
|
|
virtual |
◆ Controller() [2/2]
| Controller::Controller |
( |
ResourceFinder & |
_rf, |
|
|
inPort * |
_port_q, |
|
|
exchangeData * |
_commData, |
|
|
unsigned int |
period |
|
) |
| |
|
inline |
◆ afterStart() [1/2]
| virtual void Controller::afterStart |
( |
bool |
s | ) |
|
|
inlinevirtual |
◆ afterStart() [2/2]
| void Controller::afterStart |
( |
bool |
s | ) |
|
|
override |
◆ areJointsHealthyAndSet()
| bool Controller::areJointsHealthyAndSet |
( |
| ) |
|
|
protected |
◆ computedxFP()
| Vector Controller::computedxFP |
( |
const Matrix & |
H, |
|
|
const Vector & |
v, |
|
|
const Vector & |
w, |
|
|
const Vector & |
x_FP |
|
) |
| |
|
protected |
◆ computeEyesVelFromdxFP()
| Vector Controller::computeEyesVelFromdxFP |
( |
const Vector & |
dfp | ) |
|
|
protected |
◆ computeNeckVelFromdxFP()
| Vector Controller::computeNeckVelFromdxFP |
( |
const Vector & |
fp, |
|
|
const Vector & |
dfp |
|
) |
| |
|
protected |
◆ doSaccade()
| void Controller::doSaccade |
( |
const Vector & |
ang, |
|
|
const Vector & |
vel |
|
) |
| |
◆ findMinimumAllowedVergence()
| void Controller::findMinimumAllowedVergence |
( |
| ) |
|
◆ getDesired()
| bool Controller::getDesired |
( |
Vector & |
des | ) |
|
◆ getGazeStabilization()
| bool Controller::getGazeStabilization |
( |
| ) |
const |
◆ getPose()
| bool Controller::getPose |
( |
const string & |
poseSel, |
|
|
Vector & |
x, |
|
|
Stamp & |
stamp |
|
) |
| |
◆ getTeyes()
| double Controller::getTeyes |
( |
| ) |
const |
◆ getTneck()
| double Controller::getTneck |
( |
| ) |
const |
◆ getTrackingMode()
| bool Controller::getTrackingMode |
( |
| ) |
const |
◆ getVelocity()
| bool Controller::getVelocity |
( |
Vector & |
vel | ) |
|
◆ isMotionDone()
| bool Controller::isMotionDone |
( |
| ) |
|
◆ listMotionOngoingEvents()
| Bottle Controller::listMotionOngoingEvents |
( |
| ) |
|
◆ look()
| bool Controller::look |
( |
const Vector & |
x | ) |
|
◆ minAllowedVergenceChanged()
| void Controller::minAllowedVergenceChanged |
( |
| ) |
|
|
overridevirtual |
◆ motionOngoingEventsFlush()
| void Controller::motionOngoingEventsFlush |
( |
| ) |
|
|
protected |
◆ motionOngoingEventsHandling()
| void Controller::motionOngoingEventsHandling |
( |
| ) |
|
|
protected |
◆ notifyEvent()
| void Controller::notifyEvent |
( |
const string & |
event, |
|
|
const double |
checkPoint = -1.0 |
|
) |
| |
|
protected |
◆ printIter()
| void Controller::printIter |
( |
Vector & |
xd, |
|
|
Vector & |
fp, |
|
|
Vector & |
qd, |
|
|
Vector & |
q, |
|
|
Vector & |
v, |
|
|
double |
printTime |
|
) |
| |
◆ registerMotionOngoingEvent()
| bool Controller::registerMotionOngoingEvent |
( |
const double |
checkPoint | ) |
|
◆ resetCtrlEyes()
| void Controller::resetCtrlEyes |
( |
| ) |
|
◆ resume()
| void Controller::resume |
( |
| ) |
|
◆ run() [1/2]
| virtual void Controller::run |
( |
| ) |
|
|
inlinevirtual |
◆ run() [2/2]
◆ setGazeStabilization()
| bool Controller::setGazeStabilization |
( |
const bool |
f | ) |
|
◆ setJointsCtrlMode()
| void Controller::setJointsCtrlMode |
( |
| ) |
|
|
protected |
◆ setTeyes()
| void Controller::setTeyes |
( |
const double |
execTime | ) |
|
◆ setTneck()
| void Controller::setTneck |
( |
const double |
execTime | ) |
|
◆ setTrackingMode()
| void Controller::setTrackingMode |
( |
const bool |
f | ) |
|
◆ stopControl()
| void Controller::stopControl |
( |
| ) |
|
◆ stopControlHelper()
| void Controller::stopControlHelper |
( |
| ) |
|
|
protected |
◆ stopLimb()
| void Controller::stopLimb |
( |
const bool |
execStopPosition = true | ) |
|
|
protected |
◆ suspend()
| void Controller::suspend |
( |
| ) |
|
◆ threadInit() [1/2]
| virtual bool Controller::threadInit |
( |
| ) |
|
|
inlinevirtual |
◆ threadInit() [2/2]
| bool Controller::threadInit |
( |
| ) |
|
|
override |
◆ threadRelease() [1/2]
| virtual void Controller::threadRelease |
( |
| ) |
|
|
inlinevirtual |
◆ threadRelease() [2/2]
| void Controller::threadRelease |
( |
| ) |
|
|
override |
◆ unregisterMotionOngoingEvent()
| bool Controller::unregisterMotionOngoingEvent |
( |
const double |
checkPoint | ) |
|
◆ chain
◆ chainEyeL
◆ chainEyeR
◆ chainNeck
◆ commData [1/2]
◆ commData [2/2]
◆ ctrl
◆ ctrlActiveRisingEdgeTime
| double Controller::ctrlActiveRisingEdgeTime |
|
protected |
◆ ctrlInhibited
| bool Controller::ctrlInhibited |
|
protected |
◆ cv_eventLook
| condition_variable Controller::cv_eventLook |
|
protected |
◆ drvHead
| PolyDriver * Controller::drvHead |
|
protected |
◆ drvTorso
| PolyDriver* Controller::drvTorso |
|
protected |
◆ eyesJoints
| vector<int> Controller::eyesJoints |
|
protected |
◆ eyesTime
| double Controller::eyesTime |
|
protected |
◆ fbEyes
| Vector Controller::fbEyes |
|
protected |
◆ fbHead
| Vector Controller::fbHead |
|
protected |
◆ fbNeck
| Vector Controller::fbNeck |
|
protected |
◆ fbTorso
| Vector Controller::fbTorso |
|
protected |
◆ imu
◆ IntPlan
◆ IntStabilizer
◆ IntState
◆ jointsToSet
| vector<int> Controller::jointsToSet |
|
protected |
◆ lim
◆ limb
◆ min_abs_vel
| double Controller::min_abs_vel |
|
protected |
◆ mjCtrlEyes
◆ mjCtrlNeck
◆ modHead
| IControlMode* Controller::modHead |
|
protected |
◆ motionDone
| bool Controller::motionDone |
|
protected |
◆ motionOngoingEvents
| multiset<double> Controller::motionOngoingEvents |
|
protected |
◆ motionOngoingEventsCurrent
| multiset<double> Controller::motionOngoingEventsCurrent |
|
protected |
◆ mtx_eventLook
| mutex Controller::mtx_eventLook |
|
protected |
◆ mutexChain
| mutex Controller::mutexChain |
|
protected |
◆ mutexCtrl
| mutex Controller::mutexCtrl |
|
protected |
◆ mutexData
| mutex Controller::mutexData |
|
protected |
◆ mutexLook
| mutex Controller::mutexLook |
|
protected |
◆ mutexRun
| mutex Controller::mutexRun |
|
protected |
◆ neck
◆ neckJoints
| vector<int> Controller::neckJoints |
|
protected |
◆ neckTime
| double Controller::neckTime |
|
protected |
◆ nJointsHead
| int Controller::nJointsHead |
|
protected |
◆ nJointsTorso
| int Controller::nJointsTorso |
|
protected |
◆ pathPerc
| double Controller::pathPerc |
|
protected |
◆ period
| unsigned int Controller::period |
|
protected |
◆ port_debug
| BufferedPort<Bottle> Controller::port_debug |
|
protected |
◆ port_event
| BufferedPort<Bottle> Controller::port_event |
|
protected |
◆ port_q [1/2]
| BufferedPort<Vector> Controller::port_q |
|
protected |
◆ port_q [2/2]
◆ port_v
◆ port_x [1/2]
| BufferedPort<Vector> Controller::port_x |
|
protected |
◆ port_x [2/2]
◆ posHead
| IPositionControl* Controller::posHead |
|
protected |
◆ posNeck
| IPositionDirect* Controller::posNeck |
|
protected |
◆ printAccTime
| double Controller::printAccTime |
|
protected |
◆ q0
◆ q_stamp
| double Controller::q_stamp |
|
protected |
◆ qd
◆ qddeg
◆ qdeg
◆ qdEyes
| Vector Controller::qdEyes |
|
protected |
◆ qdNeck
| Vector Controller::qdNeck |
|
protected |
◆ reliableGyro
| bool Controller::reliableGyro |
|
protected |
◆ rf
| ResourceFinder& Controller::rf |
|
protected |
◆ saccadeStartTime
| double Controller::saccadeStartTime |
|
protected |
◆ stabilizeGaze
| bool Controller::stabilizeGaze |
|
protected |
◆ startupMinVer
| double Controller::startupMinVer |
|
protected |
◆ Ts
◆ txInfo_debug
| Stamp Controller::txInfo_debug |
|
protected |
◆ txInfo_event
| Stamp Controller::txInfo_event |
|
protected |
◆ txInfo_pose
| Stamp Controller::txInfo_pose |
|
protected |
◆ txInfo_q
| Stamp Controller::txInfo_q |
|
protected |
◆ txInfo_x
| Stamp Controller::txInfo_x |
|
protected |
◆ unplugCtrlEyes
| bool Controller::unplugCtrlEyes |
|
protected |
◆ vdeg
◆ velHead
| IVelocityControl* Controller::velHead |
|
protected |
◆ vEyes
◆ vNeck
The documentation for this class was generated from the following files:
- icub-main/src/modules/iKinGazeCtrl/include/iCub/controller.h
- icub-tutorials/src/iKin/genericChainController/main.cpp
- icub-main/src/modules/iKinGazeCtrl/src/controller.cpp