yarp-devices
Loading...
Searching...
No Matches
TextilesHand Class Reference

Implementation for the custom UC3M Textiles Hand as a single CAN bus joint (control board raw interfaces).

#include <TextilesHand.hpp>

Inheritance diagram for TextilesHand:
TextilesHand_ParamsParser

Public Member Functions

bool open (yarp::os::Searchable &config) override
bool close () override
bool getControlMode (int j, int *mode) override
bool getControlModes (int *modes) override
bool getControlModes (int n_joint, const int *joints, int *modes) override
bool setControlMode (int j, const int mode) override
bool setControlModes (int n_joint, const int *joints, int *modes) override
bool setControlModes (int *modes) override
bool getAxes (int *ax) override
bool setPosition (int j, double ref) override
bool setPositions (const double *refs) override
bool setPositions (int n_joint, const int *joints, const double *refs) override
bool getRefPosition (int joint, double *ref) override
bool getRefPositions (double *refs) override
bool getRefPositions (int n_joint, const int *joints, double *refs) override
Public Member Functions inherited from TextilesHand_ParamsParser
bool parseParams (const yarp::os::Searchable &config) override
std::string getDeviceClassName () const override
std::string getDeviceName () const override
std::string getDocumentationOfDeviceParams () const override
std::vector< std::string > getListOfParams () const override
bool getParamValue (const std::string &paramName, std::string &paramValue) const override
std::string getConfiguration () const override

Private Attributes

double lastTarget {0.0}
yarp::dev::PolyDriver serialDevice
yarp::dev::ISerialDevice * iSerialDevice {nullptr}

Additional Inherited Members

Public Attributes inherited from TextilesHand_ParamsParser
const std::string m_device_classname = {"TextilesHand"}
const std::string m_device_name = {"TextilesHand"}
bool m_parser_is_strict = false
const parser_version_type m_parser_version = {}
std::string m_provided_configuration
const std::string m_port_defaultValue = {"/dev/ttyUSB0"}
std::string m_port = {"/dev/ttyUSB0"}

The documentation for this class was generated from the following files:
  • libraries/YarpPlugins/TextilesHand/TextilesHand.hpp
  • libraries/YarpPlugins/TextilesHand/DeviceDriverImpl.cpp
  • libraries/YarpPlugins/TextilesHand/IControlModeImpl.cpp
  • libraries/YarpPlugins/TextilesHand/IPositionDirectImpl.cpp