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::string > help (const std::string &functionName="--all")
 

Protected Attributes

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

Detailed Description

Definition at line 609 of file main.cpp.

Member Function Documentation

◆ attach()

bool TunerModule::attach ( RpcServer &  source)
inline

Definition at line 666 of file main.cpp.

◆ close()

bool TunerModule::close ( void  )
inline

Definition at line 752 of file main.cpp.

◆ configure()

bool TunerModule::configure ( ResourceFinder &  rf)
inline

Definition at line 620 of file main.cpp.

◆ dispose()

void TunerModule::dispose ( )
inline

Definition at line 694 of file main.cpp.

◆ getPeriod()

double TunerModule::getPeriod ( )
inline

Definition at line 672 of file main.cpp.

◆ interruptModule()

bool TunerModule::interruptModule ( )
inline

Definition at line 684 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 746 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 723 of file main.cpp.

◆ sync()

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

Definition at line 701 of file main.cpp.

◆ tune()

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

Definition at line 712 of file main.cpp.

◆ updateModule()

bool TunerModule::updateModule ( )
inline

Definition at line 678 of file main.cpp.

Member Data Documentation

◆ closing

bool TunerModule::closing
protected

Definition at line 615 of file main.cpp.

◆ interrupting

bool TunerModule::interrupting
protected

Definition at line 614 of file main.cpp.

◆ rf

ResourceFinder* TunerModule::rf
protected

Definition at line 612 of file main.cpp.

◆ rpcPort

RpcServer TunerModule::rpcPort
protected

Definition at line 616 of file main.cpp.

◆ tuners

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

Definition at line 613 of file main.cpp.


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