iCub-main
Public Member Functions | Protected Attributes | List of all members
TunerModule Class Reference
+ Inheritance diagram for TunerModule:

Public Member Functions

bool configure (ResourceFinder &rf)
 
bool attach (RpcServer &source)
 
double getPeriod ()
 
bool updateModule ()
 
bool interruptModule ()
 
void dispose ()
 
bool sync (const string &part, const Value &val)
 
bool tune (const string &part, const Value &val)
 
bool save ()
 Save the PID parameters on configuration file. More...
 
bool quit ()
 Quit the module. More...
 
bool close ()
 
- Public Member Functions inherited from fingersTuner_IDL
 fingersTuner_IDL ()
 
virtual bool sync (const std::string &part, const yarp::os::Value &val)
 Synchronize PID values with values stored in the configuration file. More...
 
virtual bool tune (const std::string &part, const yarp::os::Value &val)
 Tune PID of a joint or a set of joints. More...
 
virtual bool read (yarp::os::ConnectionReader &connection) override
 
virtual std::vector< std::stringhelp (const std::string &functionName="--all")
 

Protected Attributes

ResourceFinder * rf
 
map< string, Tuner * > tuners
 
bool interrupting
 
bool closing
 
RpcServer rpcPort
 

Detailed Description

Definition at line 607 of file main.cpp.

Member Function Documentation

◆ attach()

bool TunerModule::attach ( RpcServer &  source)
inline

Definition at line 664 of file main.cpp.

◆ close()

bool TunerModule::close ( )
inline

Definition at line 750 of file main.cpp.

◆ configure()

bool TunerModule::configure ( ResourceFinder &  rf)
inline

Definition at line 618 of file main.cpp.

◆ dispose()

void TunerModule::dispose ( )
inline

Definition at line 692 of file main.cpp.

◆ getPeriod()

double TunerModule::getPeriod ( )
inline

Definition at line 670 of file main.cpp.

◆ interruptModule()

bool TunerModule::interruptModule ( )
inline

Definition at line 682 of file main.cpp.

◆ quit()

bool TunerModule::quit ( )
inlinevirtual

Quit the module.

Returns
true/false on success/failure.

Reimplemented from fingersTuner_IDL.

Definition at line 744 of file main.cpp.

◆ save()

bool TunerModule::save ( )
inlinevirtual

Save the PID parameters on configuration file.

Returns
true/false on success/failure.

Reimplemented from fingersTuner_IDL.

Definition at line 721 of file main.cpp.

◆ sync()

bool TunerModule::sync ( const string part,
const Value &  val 
)
inline

Definition at line 699 of file main.cpp.

◆ tune()

bool TunerModule::tune ( const string part,
const Value &  val 
)
inline

Definition at line 710 of file main.cpp.

◆ updateModule()

bool TunerModule::updateModule ( )
inline

Definition at line 676 of file main.cpp.

Member Data Documentation

◆ closing

bool TunerModule::closing
protected

Definition at line 613 of file main.cpp.

◆ interrupting

bool TunerModule::interrupting
protected

Definition at line 612 of file main.cpp.

◆ rf

ResourceFinder* TunerModule::rf
protected

Definition at line 610 of file main.cpp.

◆ rpcPort

RpcServer TunerModule::rpcPort
protected

Definition at line 614 of file main.cpp.

◆ tuners

map<string,Tuner*> TunerModule::tuners
protected

Definition at line 611 of file main.cpp.


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