#include <ControlBoardWrapper/SubDevice.h>
Public Member Functions | |
SubDevice ()=default | |
bool | attach (yarp::dev::PolyDriver *d, const std::string &id) |
void | detach () |
bool | configure (size_t wbase, size_t wtop, size_t base, size_t top, size_t axes, const std::string &id, ControlBoardWrapper *_parent) |
bool | isAttached () |
Definition at line 54 of file SubDevice.h.
|
default |
bool SubDevice::attach | ( | yarp::dev::PolyDriver * | d, |
const std::string & | id | ||
) |
Definition at line 87 of file SubDevice.cpp.
bool SubDevice::configure | ( | size_t | wbase, |
size_t | wtop, | ||
size_t | base, | ||
size_t | top, | ||
size_t | axes, | ||
const std::string & | id, | ||
ControlBoardWrapper * | _parent | ||
) |
Definition at line 27 of file SubDevice.cpp.
void SubDevice::detach | ( | ) |
Definition at line 63 of file SubDevice.cpp.
|
inline |
Definition at line 103 of file SubDevice.h.
yarp::dev::IAmplifierControl* SubDevice::amp {nullptr} |
Definition at line 75 of file SubDevice.h.
size_t SubDevice::axes {0} |
Definition at line 62 of file SubDevice.h.
size_t SubDevice::base {static_cast<size_t>(-1)} |
Definition at line 58 of file SubDevice.h.
yarp::dev::IControlCalibration* SubDevice::calib {nullptr} |
Definition at line 77 of file SubDevice.h.
bool SubDevice::configuredF {false} |
Definition at line 65 of file SubDevice.h.
yarp::dev::ICurrentControl* SubDevice::iCurr {nullptr} |
Definition at line 88 of file SubDevice.h.
std::string SubDevice::id |
Definition at line 57 of file SubDevice.h.
yarp::dev::IImpedanceControl* SubDevice::iImpedance {nullptr} |
Definition at line 80 of file SubDevice.h.
yarp::dev::IInteractionMode* SubDevice::iInteract {nullptr} |
Definition at line 84 of file SubDevice.h.
yarp::dev::IEncodersTimed* SubDevice::iJntEnc {nullptr} |
Definition at line 73 of file SubDevice.h.
yarp::dev::IControlMode* SubDevice::iMode {nullptr} |
Definition at line 81 of file SubDevice.h.
yarp::dev::IMotorEncoders* SubDevice::iMotEnc {nullptr} |
Definition at line 74 of file SubDevice.h.
yarp::dev::IMotor* SubDevice::imotor {nullptr} |
Definition at line 85 of file SubDevice.h.
yarp::dev::IAxisInfo* SubDevice::info {nullptr} |
Definition at line 82 of file SubDevice.h.
yarp::dev::IPWMControl* SubDevice::iPWM {nullptr} |
Definition at line 87 of file SubDevice.h.
yarp::dev::IPreciselyTimed* SubDevice::iTimed {nullptr} |
Definition at line 78 of file SubDevice.h.
yarp::dev::ITorqueControl* SubDevice::iTorque {nullptr} |
Definition at line 79 of file SubDevice.h.
yarp::dev::IRemoteVariables* SubDevice::iVar {nullptr} |
Definition at line 86 of file SubDevice.h.
yarp::sig::Vector SubDevice::jointEncodersTimes |
Definition at line 91 of file SubDevice.h.
yarp::dev::IControlLimits* SubDevice::lim {nullptr} |
Definition at line 76 of file SubDevice.h.
yarp::sig::Vector SubDevice::motorEncodersTimes |
Definition at line 93 of file SubDevice.h.
ControlBoardWrapper* SubDevice::parent {nullptr} |
Definition at line 67 of file SubDevice.h.
yarp::dev::IPidControl* SubDevice::pid {nullptr} |
Definition at line 70 of file SubDevice.h.
yarp::dev::IPositionControl* SubDevice::pos {nullptr} |
Definition at line 71 of file SubDevice.h.
yarp::dev::IPositionDirect* SubDevice::posDir {nullptr} |
Definition at line 83 of file SubDevice.h.
yarp::sig::Vector SubDevice::subDev_joint_encoders |
Definition at line 90 of file SubDevice.h.
yarp::sig::Vector SubDevice::subDev_motor_encoders |
Definition at line 92 of file SubDevice.h.
yarp::dev::PolyDriver* SubDevice::subdevice {nullptr} |
Definition at line 69 of file SubDevice.h.
size_t SubDevice::top {static_cast<size_t>(-1)} |
Definition at line 59 of file SubDevice.h.
size_t SubDevice::totalAxis |
Definition at line 63 of file SubDevice.h.
yarp::dev::IVelocityControl* SubDevice::vel {nullptr} |
Definition at line 72 of file SubDevice.h.
size_t SubDevice::wbase |
Definition at line 60 of file SubDevice.h.
size_t SubDevice::wtop |
Definition at line 61 of file SubDevice.h.