iCub-main
Loading...
Searching...
No Matches
Public Member Functions | List of all members
velControlThread Class Reference

#include <velControlThread.h>

+ Inheritance diagram for velControlThread:

Public Member Functions

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

Detailed Description

Definition at line 21 of file velControlThread.h.

Constructor & Destructor Documentation

◆ velControlThread()

velControlThread::velControlThread ( int  rate)

Definition at line 25 of file velControlThread.cpp.

◆ ~velControlThread()

velControlThread::~velControlThread ( )

Definition at line 32 of file velControlThread.cpp.

Member Function Documentation

◆ go()

void velControlThread::go ( )

Definition at line 276 of file velControlThread.cpp.

◆ halt()

void velControlThread::halt ( )

Definition at line 267 of file velControlThread.cpp.

◆ init()

bool velControlThread::init ( yarp::dev::PolyDriver *  d,
std::string  partName,
std::string  robotName 
)

opening port for fast transfer of position command

Definition at line 191 of file velControlThread.cpp.

◆ limitSpeed()

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

Definition at line 333 of file velControlThread.cpp.

◆ run()

void velControlThread::run ( )

Definition at line 35 of file velControlThread.cpp.

◆ setGain()

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

Definition at line 316 of file velControlThread.cpp.

◆ setRef()

void velControlThread::setRef ( int  i,
double  pos 
)

Definition at line 294 of file velControlThread.cpp.

◆ setVel()

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

Definition at line 303 of file velControlThread.cpp.

◆ threadInit()

bool velControlThread::threadInit ( )

Definition at line 158 of file velControlThread.cpp.

◆ threadRelease()

void velControlThread::threadRelease ( )

Definition at line 172 of file velControlThread.cpp.


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