iCub-main
|
#include <positionDirectThread.h>
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 |
Definition at line 19 of file positionDirectThread.h.
positionDirectControlThread::positionDirectControlThread | ( | int | rate | ) |
Definition at line 19 of file positionDirectThread.cpp.
positionDirectControlThread::~positionDirectControlThread | ( | ) |
Definition at line 29 of file positionDirectThread.cpp.
void positionDirectControlThread::go | ( | ) |
Definition at line 241 of file positionDirectThread.cpp.
void positionDirectControlThread::halt | ( | ) |
Definition at line 235 of file positionDirectThread.cpp.
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.
void positionDirectControlThread::limitSpeed | ( | yarp::sig::Vector & | command | ) |
Definition at line 258 of file positionDirectThread.cpp.
void positionDirectControlThread::run | ( | ) |
Definition at line 33 of file positionDirectThread.cpp.
void positionDirectControlThread::setGain | ( | int | i, |
double | gain | ||
) |
Definition at line 252 of file positionDirectThread.cpp.
void positionDirectControlThread::setVel | ( | int | i, |
double | vel | ||
) |
Definition at line 247 of file positionDirectThread.cpp.
bool positionDirectControlThread::threadInit | ( | ) |
Definition at line 113 of file positionDirectThread.cpp.
void positionDirectControlThread::threadRelease | ( | ) |
Definition at line 120 of file positionDirectThread.cpp.
double positionDirectControlThread::joints_limiter |
Definition at line 53 of file positionDirectThread.h.
double positionDirectControlThread::target_limiter |
Definition at line 54 of file positionDirectThread.h.