iCub-main
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Tuner Class Reference

Classes

struct  PidData
 

Public Member Functions

 Tuner ()
 
bool configure (ResourceFinder &rf, const string &part)
 
bool sync (const Value &sel)
 
bool tune (const Value &sel)
 
string toString ()
 
void interrupt ()
 
 ~Tuner ()
 

Protected Types

enum  pidStatus {
  download,
  upload,
  synced
}
 

Protected Member Functions

PolyDriver * waitPart (const Property &partOpt, const double ping_robot_tmo)
 
PidData getPidData (Bottle &bGroup, const int i)
 
void idlingCoupledJoints (const int i, const bool sw)
 
bool tune (const int i)
 

Protected Attributes

bool interrupting
 
string name
 
string robot
 
string part
 
string device
 
PolyDriver * driver
 
Bottle rJoints
 
map< int, PidDatapids
 
map< string, Bottle > alias
 

Static Protected Attributes

static unsigned int instances =0
 

Detailed Description

Definition at line 108 of file main.cpp.

Member Enumeration Documentation

◆ pidStatus

enum Tuner::pidStatus
protected
Enumerator
download 
upload 
synced 

Definition at line 111 of file main.cpp.

Constructor & Destructor Documentation

◆ Tuner()

Tuner::Tuner ( )
inline

Definition at line 392 of file main.cpp.

◆ ~Tuner()

Tuner::~Tuner ( )
inline

Definition at line 598 of file main.cpp.

Member Function Documentation

◆ configure()

bool Tuner::configure ( ResourceFinder &  rf,
const string part 
)
inline

Definition at line 398 of file main.cpp.

◆ getPidData()

PidData Tuner::getPidData ( Bottle &  bGroup,
const int  i 
)
inlineprotected

Definition at line 193 of file main.cpp.

◆ idlingCoupledJoints()

void Tuner::idlingCoupledJoints ( const int  i,
const bool  sw 
)
inlineprotected

Definition at line 238 of file main.cpp.

◆ interrupt()

void Tuner::interrupt ( )
inline

Definition at line 592 of file main.cpp.

◆ sync()

bool Tuner::sync ( const Value &  sel)
inline

Definition at line 475 of file main.cpp.

◆ toString()

string Tuner::toString ( )
inline

Definition at line 563 of file main.cpp.

◆ tune() [1/2]

bool Tuner::tune ( const int  i)
inlineprotected

Definition at line 250 of file main.cpp.

◆ tune() [2/2]

bool Tuner::tune ( const Value &  sel)
inline

Definition at line 519 of file main.cpp.

◆ waitPart()

PolyDriver* Tuner::waitPart ( const Property &  partOpt,
const double  ping_robot_tmo 
)
inlineprotected

Definition at line 156 of file main.cpp.

Member Data Documentation

◆ alias

map<string,Bottle> Tuner::alias
protected

Definition at line 153 of file main.cpp.

◆ device

string Tuner::device
protected

Definition at line 148 of file main.cpp.

◆ driver

PolyDriver* Tuner::driver
protected

Definition at line 149 of file main.cpp.

◆ instances

unsigned int Tuner::instances =0
staticprotected

Definition at line 146 of file main.cpp.

◆ interrupting

bool Tuner::interrupting
protected

Definition at line 147 of file main.cpp.

◆ name

string Tuner::name
protected

Definition at line 148 of file main.cpp.

◆ part

string Tuner::part
protected

Definition at line 148 of file main.cpp.

◆ pids

map<int,PidData> Tuner::pids
protected

Definition at line 152 of file main.cpp.

◆ rJoints

Bottle Tuner::rJoints
protected

Definition at line 151 of file main.cpp.

◆ robot

string Tuner::robot
protected

Definition at line 148 of file main.cpp.


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