iCub-main
Public Member Functions | List of all members
yarp::dev::eomc::Parser Class Reference

#include <eomcParser.h>

Public Member Functions

 Parser (int numofjoints, std::string boardname)
 
 ~Parser ()
 
bool parsePids (yarp::os::Searchable &config, PidInfo *ppids, TrqPidInfo *tpids, PidInfo *cpids, PidInfo *spids, bool lowLevPidisMandatory)
 
bool parseFocGroup (yarp::os::Searchable &config, focBasedSpecificInfo_t *foc_based_info, std::string groupName, std::vector< std::unique_ptr< eomc::ITemperatureSensor >> &temperatureSensorsVector)
 
bool parseJointsetCfgGroup (yarp::os::Searchable &config, std::vector< JointsSet > &jsets, std::vector< int > &jointtoset)
 
bool parseTimeoutsGroup (yarp::os::Searchable &config, std::vector< timeouts_t > &timeouts, int defaultVelocityTimeout)
 
bool parseCurrentLimits (yarp::os::Searchable &config, std::vector< motorCurrentLimits_t > &currLimits)
 
bool parseTemperatureLimits (yarp::os::Searchable &config, std::vector< temperatureLimits_t > &temperatureLimits)
 
bool parseJointsLimits (yarp::os::Searchable &config, std::vector< jointLimits_t > &jointsLimits)
 
bool parseRotorsLimits (yarp::os::Searchable &config, std::vector< rotorLimits_t > &rotorsLimits)
 
bool parseCouplingInfo (yarp::os::Searchable &config, couplingInfo_t &couplingInfo)
 
bool parseMotioncontrolVersion (yarp::os::Searchable &config, int &version)
 
bool parseBehaviourFalgs (yarp::os::Searchable &config, bool &useRawEncoderData, bool &pwmIsLimited)
 
bool isVerboseEnabled (yarp::os::Searchable &config)
 
bool parseAxisInfo (yarp::os::Searchable &config, int axisMap[], std::vector< axisInfo_t > &axisInfo)
 
bool parseEncoderFactor (yarp::os::Searchable &config, double encoderFactor[])
 
bool parsefullscalePWM (yarp::os::Searchable &config, double dutycycleToPWM[])
 
bool parseAmpsToSensor (yarp::os::Searchable &config, double ampsToSensor[])
 
bool parseGearboxValues (yarp::os::Searchable &config, double gearbox_M2J[], double gearbox_E2J[])
 
bool parseMechanicalsFlags (yarp::os::Searchable &config, int useMotorSpeedFbk[])
 
bool parseImpedanceGroup (yarp::os::Searchable &config, std::vector< impedanceParameters_t > &impedance)
 
bool parseDeadzoneValue (yarp::os::Searchable &config, double deadzone[], bool *found)
 
bool parseKalmanFilterParams (yarp::os::Searchable &config, std::vector< kalmanFilterParams_t > &kalmanFilterParams)
 

Detailed Description

Definition at line 531 of file eomcParser.h.

Constructor & Destructor Documentation

◆ Parser()

yarp::dev::eomc::Parser::Parser ( int  numofjoints,
std::string  boardname 
)

Definition at line 38 of file eomcParser.cpp.

◆ ~Parser()

Parser::~Parser ( )

Definition at line 66 of file eomcParser.cpp.

Member Function Documentation

◆ isVerboseEnabled()

bool Parser::isVerboseEnabled ( yarp::os::Searchable &  config)

Definition at line 1981 of file eomcParser.cpp.

◆ parseAmpsToSensor()

bool Parser::parseAmpsToSensor ( yarp::os::Searchable &  config,
double  ampsToSensor[] 
)

Definition at line 2173 of file eomcParser.cpp.

◆ parseAxisInfo()

bool Parser::parseAxisInfo ( yarp::os::Searchable &  config,
int  axisMap[],
std::vector< axisInfo_t > &  axisInfo 
)

Definition at line 2048 of file eomcParser.cpp.

◆ parseBehaviourFalgs()

bool Parser::parseBehaviourFalgs ( yarp::os::Searchable &  config,
bool &  useRawEncoderData,
bool &  pwmIsLimited 
)

Definition at line 1997 of file eomcParser.cpp.

◆ parseCouplingInfo()

bool Parser::parseCouplingInfo ( yarp::os::Searchable &  config,
couplingInfo_t couplingInfo 
)

Definition at line 1912 of file eomcParser.cpp.

◆ parseCurrentLimits()

bool Parser::parseCurrentLimits ( yarp::os::Searchable &  config,
std::vector< motorCurrentLimits_t > &  currLimits 
)

Definition at line 1706 of file eomcParser.cpp.

◆ parseDeadzoneValue()

bool Parser::parseDeadzoneValue ( yarp::os::Searchable &  config,
double  deadzone[],
bool *  found 
)

Definition at line 2256 of file eomcParser.cpp.

◆ parseEncoderFactor()

bool Parser::parseEncoderFactor ( yarp::os::Searchable &  config,
double  encoderFactor[] 
)

Definition at line 2109 of file eomcParser.cpp.

◆ parseFocGroup()

bool Parser::parseFocGroup ( yarp::os::Searchable &  config,
eomc::focBasedSpecificInfo_t foc_based_info,
std::string  groupName,
std::vector< std::unique_ptr< eomc::ITemperatureSensor >> &  temperatureSensorsVector 
)

Definition at line 1375 of file eomcParser.cpp.

◆ parsefullscalePWM()

bool Parser::parsefullscalePWM ( yarp::os::Searchable &  config,
double  dutycycleToPWM[] 
)

Definition at line 2140 of file eomcParser.cpp.

◆ parseGearboxValues()

bool Parser::parseGearboxValues ( yarp::os::Searchable &  config,
double  gearbox_M2J[],
double  gearbox_E2J[] 
)

Definition at line 2206 of file eomcParser.cpp.

◆ parseImpedanceGroup()

bool Parser::parseImpedanceGroup ( yarp::os::Searchable &  config,
std::vector< impedanceParameters_t > &  impedance 
)

Definition at line 2416 of file eomcParser.cpp.

◆ parseJointsetCfgGroup()

bool Parser::parseJointsetCfgGroup ( yarp::os::Searchable &  config,
std::vector< JointsSet > &  jsets,
std::vector< int > &  jointtoset 
)

Definition at line 1558 of file eomcParser.cpp.

◆ parseJointsLimits()

bool Parser::parseJointsLimits ( yarp::os::Searchable &  config,
std::vector< jointLimits_t > &  jointsLimits 
)

Definition at line 1792 of file eomcParser.cpp.

◆ parseKalmanFilterParams()

bool Parser::parseKalmanFilterParams ( yarp::os::Searchable &  config,
std::vector< kalmanFilterParams_t > &  kalmanFilterParams 
)

Definition at line 2292 of file eomcParser.cpp.

◆ parseMechanicalsFlags()

bool Parser::parseMechanicalsFlags ( yarp::os::Searchable &  config,
int  useMotorSpeedFbk[] 
)

Definition at line 2391 of file eomcParser.cpp.

◆ parseMotioncontrolVersion()

bool Parser::parseMotioncontrolVersion ( yarp::os::Searchable &  config,
int &  version 
)

Definition at line 1968 of file eomcParser.cpp.

◆ parsePids()

bool Parser::parsePids ( yarp::os::Searchable &  config,
PidInfo ppids,
TrqPidInfo tpids,
PidInfo cpids,
PidInfo spids,
bool  lowLevPidisMandatory 
)

Definition at line 79 of file eomcParser.cpp.

◆ parseRotorsLimits()

bool Parser::parseRotorsLimits ( yarp::os::Searchable &  config,
std::vector< rotorLimits_t > &  rotorsLimits 
)

Definition at line 1865 of file eomcParser.cpp.

◆ parseTemperatureLimits()

bool Parser::parseTemperatureLimits ( yarp::os::Searchable &  config,
std::vector< temperatureLimits_t > &  temperatureLimits 
)

Definition at line 1741 of file eomcParser.cpp.

◆ parseTimeoutsGroup()

bool Parser::parseTimeoutsGroup ( yarp::os::Searchable &  config,
std::vector< timeouts_t > &  timeouts,
int  defaultVelocityTimeout 
)

Definition at line 1674 of file eomcParser.cpp.


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