iCub-main
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
CouplingICubHandMk2_ParamsParser Class Reference

This class is the parameters parser for class CouplingICubHandMk2. More...

#include <CouplingICubHandMk2_ParamsParser.h>

+ Inheritance diagram for CouplingICubHandMk2_ParamsParser:

Classes

struct  parser_version_type
 

Public Member Functions

 CouplingICubHandMk2_ParamsParser ()
 
 ~CouplingICubHandMk2_ParamsParser () override=default
 
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
 

Public Attributes

const std::string m_device_classname = {"CouplingICubHandMk2"}
 
const std::string m_device_name = {"couplingICubHandMk2"}
 
bool m_parser_is_strict = false
 
const parser_version_type m_parser_version = {}
 
const std::string m_jointNames_defaultValue = {""}
 
const std::string m_LIMITS_jntPosMin_defaultValue = {""}
 
const std::string m_LIMITS_jntPosMax_defaultValue = {""}
 
const std::string m_COUPLING_device_defaultValue = {""}
 
const std::string m_COUPLING_actuatedAxesNames_defaultValue = {""}
 
const std::string m_COUPLING_actuatedAxesPosMin_defaultValue = {""}
 
const std::string m_COUPLING_actuatedAxesPosMax_defaultValue = {""}
 
std::vector< std::string > m_jointNames = {}
 
std::vector< double > m_LIMITS_jntPosMin = {}
 
std::vector< double > m_LIMITS_jntPosMax = {}
 
std::string m_COUPLING_device = {}
 
std::vector< std::string > m_COUPLING_actuatedAxesNames = {}
 
std::vector< double > m_COUPLING_actuatedAxesPosMin = {}
 
std::vector< double > m_COUPLING_actuatedAxesPosMax = {}
 

Detailed Description

This class is the parameters parser for class CouplingICubHandMk2.

These are the used parameters:

Group name Parameter name Type Units Default Value Required Description Notes
- jointNames vector<string> - - 1 Names of the physical joints -
LIMITS jntPosMin vector<double> - - 1 Physical joints' position minimum -
LIMITS jntPosMax vector<double> - - 1 Physical joints' position maximum -
COUPLING device string - - 1 Name of the device that handles the coupling -
COUPLING actuatedAxesNames vector<string> - - 1 Names of the actuated axes -
COUPLING actuatedAxesPosMin vector<double> - - 1 Actuated axes' position minimum -
COUPLING actuatedAxesPosMax vector<double> - - 1 Actuated axes' position maximum -

The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):

yarpdev --device couplingICubHandMk2 --jointNames <mandatory_value> --LIMITS::jntPosMin <mandatory_value> --LIMITS::jntPosMax <mandatory_value> --COUPLING::device <mandatory_value> --COUPLING::actuatedAxesNames <mandatory_value> --COUPLING::actuatedAxesPosMin <mandatory_value> --COUPLING::actuatedAxesPosMax <mandatory_value>
yarpdev --device couplingICubHandMk2 --jointNames <mandatory_value> --LIMITS::jntPosMin <mandatory_value> --LIMITS::jntPosMax <mandatory_value> --COUPLING::device <mandatory_value> --COUPLING::actuatedAxesNames <mandatory_value> --COUPLING::actuatedAxesPosMin <mandatory_value> --COUPLING::actuatedAxesPosMax <mandatory_value>

Definition at line 47 of file CouplingICubHandMk2_ParamsParser.h.

Constructor & Destructor Documentation

◆ CouplingICubHandMk2_ParamsParser()

CouplingICubHandMk2_ParamsParser::CouplingICubHandMk2_ParamsParser ( )

Definition at line 23 of file CouplingICubHandMk2_ParamsParser.cpp.

◆ ~CouplingICubHandMk2_ParamsParser()

CouplingICubHandMk2_ParamsParser::~CouplingICubHandMk2_ParamsParser ( )
overridedefault

Member Function Documentation

◆ getDeviceClassName()

std::string CouplingICubHandMk2_ParamsParser::getDeviceClassName ( ) const
inlineoverride

Definition at line 81 of file CouplingICubHandMk2_ParamsParser.h.

◆ getDeviceName()

std::string CouplingICubHandMk2_ParamsParser::getDeviceName ( ) const
inlineoverride

Definition at line 82 of file CouplingICubHandMk2_ParamsParser.h.

◆ getDocumentationOfDeviceParams()

std::string CouplingICubHandMk2_ParamsParser::getDocumentationOfDeviceParams ( ) const
override

Definition at line 295 of file CouplingICubHandMk2_ParamsParser.cpp.

◆ getListOfParams()

std::vector< std::string > CouplingICubHandMk2_ParamsParser::getListOfParams ( ) const
override

Definition at line 28 of file CouplingICubHandMk2_ParamsParser.cpp.

◆ parseParams()

bool CouplingICubHandMk2_ParamsParser::parseParams ( const yarp::os::Searchable &  config)
override

Definition at line 42 of file CouplingICubHandMk2_ParamsParser.cpp.

Member Data Documentation

◆ m_COUPLING_actuatedAxesNames

std::vector<std::string> CouplingICubHandMk2_ParamsParser::m_COUPLING_actuatedAxesNames = {}

Definition at line 76 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_COUPLING_actuatedAxesNames_defaultValue

const std::string CouplingICubHandMk2_ParamsParser::m_COUPLING_actuatedAxesNames_defaultValue = {""}

Definition at line 68 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_COUPLING_actuatedAxesPosMax

std::vector<double> CouplingICubHandMk2_ParamsParser::m_COUPLING_actuatedAxesPosMax = {}

Definition at line 78 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_COUPLING_actuatedAxesPosMax_defaultValue

const std::string CouplingICubHandMk2_ParamsParser::m_COUPLING_actuatedAxesPosMax_defaultValue = {""}

Definition at line 70 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_COUPLING_actuatedAxesPosMin

std::vector<double> CouplingICubHandMk2_ParamsParser::m_COUPLING_actuatedAxesPosMin = {}

Definition at line 77 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_COUPLING_actuatedAxesPosMin_defaultValue

const std::string CouplingICubHandMk2_ParamsParser::m_COUPLING_actuatedAxesPosMin_defaultValue = {""}

Definition at line 69 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_COUPLING_device

std::string CouplingICubHandMk2_ParamsParser::m_COUPLING_device = {}

Definition at line 75 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_COUPLING_device_defaultValue

const std::string CouplingICubHandMk2_ParamsParser::m_COUPLING_device_defaultValue = {""}

Definition at line 67 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_device_classname

const std::string CouplingICubHandMk2_ParamsParser::m_device_classname = {"CouplingICubHandMk2"}

Definition at line 54 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_device_name

const std::string CouplingICubHandMk2_ParamsParser::m_device_name = {"couplingICubHandMk2"}

Definition at line 55 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_jointNames

std::vector<std::string> CouplingICubHandMk2_ParamsParser::m_jointNames = {}

Definition at line 72 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_jointNames_defaultValue

const std::string CouplingICubHandMk2_ParamsParser::m_jointNames_defaultValue = {""}

Definition at line 64 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_LIMITS_jntPosMax

std::vector<double> CouplingICubHandMk2_ParamsParser::m_LIMITS_jntPosMax = {}

Definition at line 74 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_LIMITS_jntPosMax_defaultValue

const std::string CouplingICubHandMk2_ParamsParser::m_LIMITS_jntPosMax_defaultValue = {""}

Definition at line 66 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_LIMITS_jntPosMin

std::vector<double> CouplingICubHandMk2_ParamsParser::m_LIMITS_jntPosMin = {}

Definition at line 73 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_LIMITS_jntPosMin_defaultValue

const std::string CouplingICubHandMk2_ParamsParser::m_LIMITS_jntPosMin_defaultValue = {""}

Definition at line 65 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_parser_is_strict

bool CouplingICubHandMk2_ParamsParser::m_parser_is_strict = false

Definition at line 56 of file CouplingICubHandMk2_ParamsParser.h.

◆ m_parser_version

const parser_version_type CouplingICubHandMk2_ParamsParser::m_parser_version = {}

Definition at line 62 of file CouplingICubHandMk2_ParamsParser.h.


The documentation for this class was generated from the following files: