|
| yarp::dev::ReturnValue | getState (roboticslab::ICartesianControl::ControllerState &state) override |
| | Current state and position.
|
| |
| yarp::dev::ReturnValue | solvePose (const std::vector< double > &xd, std::vector< double > &q) override |
| | Inverse kinematics.
|
| |
| yarp::dev::ReturnValue | moveJoint (const std::vector< double > &xd) override |
| | Move in joint space.
|
| |
| yarp::dev::ReturnValue | moveLinear (const std::vector< double > &xd) override |
| | Linear move to target position.
|
| |
| yarp::dev::ReturnValue | moveVelocity (const std::vector< double > &xdotd) override |
| | Linear move with given velocity.
|
| |
| yarp::dev::ReturnValue | gravityCompensation () override |
| | Gravity compensation.
|
| |
| yarp::dev::ReturnValue | forceControl (const std::vector< double > &fd) override |
| | Force control.
|
| |
| yarp::dev::ReturnValue | stopControl () override |
| | Stop control.
|
| |
| yarp::dev::ReturnValue | changeTool (const std::vector< double > &x) override |
| | Change tool.
|
| |
| yarp::dev::ReturnValue | actuateTool (roboticslab::ICartesianControl::Actuator command) override |
| | Actuate tool.
|
| |
| void | pose (const std::vector< double > &x) override |
| | Achieve pose.
|
| |
| void | twist (const std::vector< double > &xdot) override |
| | Instantaneous velocity steps.
|
| |
| void | wrench (const std::vector< double > &w) override |
| | Exert force.
|
| |
| yarp::dev::ReturnValue | setParameter (roboticslab::ICartesianControl::Config vocab, roboticslab::ICartesianControl::config_value_t value) override |
| | Set a configuration parameter.
|
| |
| yarp::dev::ReturnValue | getParameter (roboticslab::ICartesianControl::Config vocab, roboticslab::ICartesianControl::config_value_t *value) override |
| | Retrieve a configuration parameter.
|
| |
| yarp::dev::ReturnValue | setParameters (const roboticslab::ICartesianControl::config_map_t ¶ms) override |
| | Set multiple configuration parameters.
|
| |
| yarp::dev::ReturnValue | getParameters (roboticslab::ICartesianControl::config_map_t ¶ms) override |
| | Retrieve multiple configuration parameters.
|
| |
|
bool | open (yarp::os::Searchable &config) override |
| |
|
bool | close () override |
| |
|
virtual | ~ICartesianControl ()=default |
| | Destructor.
|
| |
|
virtual bool | stat (std::vector< double > &x, int *state=nullptr, double *timestamp=nullptr) |
| |
|
virtual bool | inv (const std::vector< double > &xd, std::vector< double > &q) |
| |
|
virtual bool | movj (const std::vector< double > &xd) |
| |
|
virtual bool | relj (const std::vector< double > &xd) |
| |
|
virtual bool | movl (const std::vector< double > &xd) |
| |
|
virtual bool | movv (const std::vector< double > &xdotd) |
| |
|
virtual bool | gcmp () |
| |
|
virtual bool | forc (const std::vector< double > &fd) |
| |
|
virtual bool | wait (double timeout=0.0) |
| |
|
virtual bool | tool (const std::vector< double > &x) |
| |
|
virtual bool | act (int command) |
| |
|
virtual bool | setParameter (int vocab, double value) |
| |
|
virtual bool | getParameter (int vocab, double *value) |
| |
|
virtual bool | setParameters (const std::map< int, double > ¶ms) |
| |
|
virtual bool | getParameters (std::map< int, double > ¶ms) |
| |
|
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 ¶mName, std::string ¶mValue) const override |
| |
|
std::string | getConfiguration () const override |
| |
|
| enum class | Vocabs {
OK = yarp::os::createVocab32('o','k')
, FAILED = yarp::os::createVocab32('f','a','i','l')
, SET = yarp::os::createVocab32('s','e','t')
, GET = yarp::os::createVocab32('g','e','t')
,
NOT_SET = yarp::os::createVocab32('n','s','e','t')
} |
| | General-purpose vocabs. More...
|
| |
| enum class | RPC {
STATE = yarp::os::createVocab32('s','t','a','t')
, INV = yarp::os::createVocab32('i','n','v')
, MOVEJ = yarp::os::createVocab32('m','o','v','j')
, MOVEL = yarp::os::createVocab32('m','o','v','l')
,
MOVEV = yarp::os::createVocab32('m','o','v','v')
, GCMP = yarp::os::createVocab32('g','c','m','p')
, FORCE = yarp::os::createVocab32('f','o','r','c')
, STOP = yarp::os::createVocab32('s','t','o','p')
,
TOOL = yarp::os::createVocab32('t','o','o','l')
, ACT = yarp::os::createVocab32('a','c','t')
} |
| | RPC vocabs. More...
|
| |
| enum class | Streaming { POSE = yarp::os::createVocab32('p','o','s','e')
, TWIST = yarp::os::createVocab32('t','w','s','t')
, WRENCH = yarp::os::createVocab32('w','r','n','c')
} |
| | Streaming vocabs. More...
|
| |
| enum class | Mode {
NONE = yarp::os::createVocab32('n','c','t','l')
, MOVEJ = yarp::os::createVocab32('m','o','v','j')
, MOVEL = yarp::os::createVocab32('m','o','v','l')
, MOVEV = yarp::os::createVocab32('m','o','v','v')
,
GCMP = yarp::os::createVocab32('g','c','m','p')
, FORCE = yarp::os::createVocab32('f','o','r','c')
} |
| | Controller mode vocabs. More...
|
| |
| enum class | Actuator {
NONE = yarp::os::createVocab32('a','c','n')
, CLOSE = yarp::os::createVocab32('a','c','c','g')
, OPEN = yarp::os::createVocab32('a','c','o','g')
, STOP = yarp::os::createVocab32('a','c','s','g')
,
GENERIC = yarp::os::createVocab32('a','c','g')
} |
| | Actuator control vocabs. More...
|
| |
| enum class | Config {
GAIN = yarp::os::createVocab32('c','p','c','g')
, TRAJ_DURATION = yarp::os::createVocab32('c','p','t','d')
, TRAJ_REF_SPD = yarp::os::createVocab32('c','p','t','s')
, TRAJ_REF_ACC = yarp::os::createVocab32('c','p','t','a')
,
CMC_PERIOD = yarp::os::createVocab32('c','p','c','p')
, FRAME = yarp::os::createVocab32('c','p','f')
, STREAMING_CMD = yarp::os::createVocab32('c','p','s','c')
} |
| | Controller configuration vocabs. More...
|
| |
|
using | config_value_t = std::variant< double, yarp::conf::vocab32_t > |
| |
|
using | config_map_t = std::map< Config, config_value_t > |
| |
|
const std::string | m_device_classname = {"CartesianControlClient"} |
| |
|
const std::string | m_device_name = {"CartesianControlClient"} |
| |
|
bool | m_parser_is_strict = false |
| |
|
const parser_version_type | m_parser_version = {} |
| |
|
std::string | m_provided_configuration |
| |
|
const std::string | m_local_defaultValue = {"/CartesianControlClient"} |
| |
|
const std::string | m_remote_defaultValue = {"/CartesianControl"} |
| |
|
const std::string | m_fkStreamTimeoutSecs_defaultValue = {"0.5"} |
| |
|
std::string | m_local = {"/CartesianControlClient"} |
| |
|
std::string | m_remote = {"/CartesianControl"} |
| |
|
double | m_fkStreamTimeoutSecs = {0.5} |
| |