iCub-main
|
This class implements the client part of the fake motor device driver. More...
#include <fakeMotorDeviceComponents.h>
Classes | |
class | StatePort |
Public Member Functions | |
fakeMotorDeviceClient () | |
bool | open (yarp::os::Searchable &config) |
bool | close () |
bool | getLimits (int axis, double *min, double *max) |
bool | setLimits (int, double, double) |
bool | setVelLimits (int, double, double) |
bool | getVelLimits (int, double *, double *) |
bool | getAxes (int *ax) |
bool | getEncoders (double *encs) |
bool | getEncoder (int, double *) |
bool | resetEncoder (int) |
bool | resetEncoders () |
bool | setEncoder (int, double) |
bool | setEncoders (const double *) |
bool | getEncoderSpeed (int, double *) |
bool | getEncoderSpeeds (double *) |
bool | getEncoderAcceleration (int, double *) |
bool | getEncoderAccelerations (double *) |
bool | velocityMove (int j, double sp) |
bool | setRefAcceleration (int j, double acc) |
bool | stop (int j) |
bool | velocityMove (const int, const int *, const double *) |
bool | velocityMove (const double *) |
bool | setRefAccelerations (const int, const int *, const double *) |
bool | setRefAccelerations (const double *) |
bool | getRefAccelerations (const int, const int *, double *) |
bool | getRefAcceleration (int, double *) |
bool | getRefAccelerations (double *) |
bool | stop (const int, const int *) |
bool | stop () |
Protected Attributes | |
StatePort | statePort |
yarp::os::BufferedPort< yarp::os::Bottle > | cmdPort |
yarp::os::RpcClient | rpcPort |
std::mutex | mtx |
yarp::sig::Vector | encs |
bool | configured |
Friends | |
class | StatePort |
This class implements the client part of the fake motor device driver.
Only the used interface methods are actually implemented.
Definition at line 122 of file fakeMotorDeviceComponents.h.
fakeMotorDeviceClient::fakeMotorDeviceClient | ( | ) |
Definition at line 29 of file fakeMotorDeviceClient.cpp.
bool fakeMotorDeviceClient::close | ( | void | ) |
Definition at line 71 of file fakeMotorDeviceClient.cpp.
bool fakeMotorDeviceClient::getAxes | ( | int * | ax | ) |
Definition at line 111 of file fakeMotorDeviceClient.cpp.
|
inline |
Definition at line 183 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 190 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 191 of file fakeMotorDeviceComponents.h.
bool fakeMotorDeviceClient::getEncoders | ( | double * | encs | ) |
Definition at line 129 of file fakeMotorDeviceClient.cpp.
|
inline |
Definition at line 188 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 189 of file fakeMotorDeviceComponents.h.
bool fakeMotorDeviceClient::getLimits | ( | int | axis, |
double * | min, | ||
double * | max | ||
) |
Definition at line 90 of file fakeMotorDeviceClient.cpp.
|
inline |
Definition at line 209 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 208 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 210 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 171 of file fakeMotorDeviceComponents.h.
bool fakeMotorDeviceClient::open | ( | yarp::os::Searchable & | config | ) |
Definition at line 36 of file fakeMotorDeviceClient.cpp.
|
inline |
Definition at line 184 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 185 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 186 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 187 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 169 of file fakeMotorDeviceComponents.h.
bool fakeMotorDeviceClient::setRefAcceleration | ( | int | j, |
double | acc | ||
) |
Definition at line 159 of file fakeMotorDeviceClient.cpp.
|
inline |
Definition at line 207 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 206 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 170 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 212 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 211 of file fakeMotorDeviceComponents.h.
bool fakeMotorDeviceClient::stop | ( | int | j | ) |
Definition at line 176 of file fakeMotorDeviceClient.cpp.
|
inline |
Definition at line 205 of file fakeMotorDeviceComponents.h.
|
inline |
Definition at line 204 of file fakeMotorDeviceComponents.h.
bool fakeMotorDeviceClient::velocityMove | ( | int | j, |
double | sp | ||
) |
Definition at line 142 of file fakeMotorDeviceClient.cpp.
|
friend |
Definition at line 153 of file fakeMotorDeviceComponents.h.
|
protected |
Definition at line 145 of file fakeMotorDeviceComponents.h.
|
protected |
Definition at line 151 of file fakeMotorDeviceComponents.h.
|
protected |
Definition at line 150 of file fakeMotorDeviceComponents.h.
|
protected |
Definition at line 148 of file fakeMotorDeviceComponents.h.
|
protected |
Definition at line 146 of file fakeMotorDeviceComponents.h.
|
protected |
Definition at line 144 of file fakeMotorDeviceComponents.h.