iCub-main
Public Member Functions | Public Attributes | List of all members
positionDirectControlThread Class Reference

#include <positionDirectThread.h>

+ Inheritance diagram for positionDirectControlThread:

Public Member Functions

 positionDirectControlThread (int rate)
 
 ~positionDirectControlThread ()
 
bool init (yarp::dev::PolyDriver *d, std::string moduleName, std::string partName, std::string robotName, yarp::os::Bottle *jointsList)
 
void halt ()
 
void go ()
 
void setVel (int i, double vel)
 
void setGain (int i, double gain)
 
void run ()
 
bool threadInit ()
 
void threadRelease ()
 
void limitSpeed (yarp::sig::Vector &command)
 

Public Attributes

double joints_limiter
 
double target_limiter
 

Detailed Description

Definition at line 19 of file positionDirectThread.h.

Constructor & Destructor Documentation

◆ positionDirectControlThread()

positionDirectControlThread::positionDirectControlThread ( int  rate)

Definition at line 19 of file positionDirectThread.cpp.

◆ ~positionDirectControlThread()

positionDirectControlThread::~positionDirectControlThread ( )

Definition at line 29 of file positionDirectThread.cpp.

Member Function Documentation

◆ go()

void positionDirectControlThread::go ( )

Definition at line 241 of file positionDirectThread.cpp.

◆ halt()

void positionDirectControlThread::halt ( )

Definition at line 235 of file positionDirectThread.cpp.

◆ init()

bool positionDirectControlThread::init ( yarp::dev::PolyDriver *  d,
std::string  moduleName,
std::string  partName,
std::string  robotName,
yarp::os::Bottle *  jointsList 
)

opening port command input

Definition at line 131 of file positionDirectThread.cpp.

◆ limitSpeed()

void positionDirectControlThread::limitSpeed ( yarp::sig::Vector &  command)

Definition at line 258 of file positionDirectThread.cpp.

◆ run()

void positionDirectControlThread::run ( )

Definition at line 33 of file positionDirectThread.cpp.

◆ setGain()

void positionDirectControlThread::setGain ( int  i,
double  gain 
)

Definition at line 252 of file positionDirectThread.cpp.

◆ setVel()

void positionDirectControlThread::setVel ( int  i,
double  vel 
)

Definition at line 247 of file positionDirectThread.cpp.

◆ threadInit()

bool positionDirectControlThread::threadInit ( )

Definition at line 113 of file positionDirectThread.cpp.

◆ threadRelease()

void positionDirectControlThread::threadRelease ( )

Definition at line 120 of file positionDirectThread.cpp.

Member Data Documentation

◆ joints_limiter

double positionDirectControlThread::joints_limiter

Definition at line 53 of file positionDirectThread.h.

◆ target_limiter

double positionDirectControlThread::target_limiter

Definition at line 54 of file positionDirectThread.h.


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