kinematics-dynamics
Loading...
Searching...
No Matches
CartesianControlServer_ParamsParser Class Reference

#include <CartesianControlServer_ParamsParser.h>

Inheritance diagram for CartesianControlServer_ParamsParser:
CartesianControlServer

Classes

struct  parser_version_type

Public Member Functions

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

Public Attributes

const std::string m_device_classname = {"CartesianControlServer"}
const std::string m_device_name = {"CartesianControlServer"}
bool m_parser_is_strict = false
const parser_version_type m_parser_version = {}
std::string m_provided_configuration
const std::string m_name_defaultValue = {"/CartesianServer"}
const std::string m_fkPeriod_defaultValue = {"20"}
const std::string m_coordRepr_defaultValue = {"cartesian"}
const std::string m_angleRepr_defaultValue = {"axisAngleScaled"}
const std::string m_angularUnits_defaultValue = {"degrees"}
std::string m_name = {"/CartesianServer"}
int m_fkPeriod = {20}
std::string m_coordRepr = {"cartesian"}
std::string m_angleRepr = {"axisAngleScaled"}
std::string m_angularUnits = {"degrees"}

Detailed Description

This class is the parameters parser for class CartesianControlServer.

These are the used parameters:

Group name Parameter name Type Units Default Value Required Description Notes
- name string - /CartesianServer 0 local port prefix -
- fkPeriod int ms 20 0 FK stream period -
- coordRepr string - cartesian 0 coordinate representation for transform port cartesian, cylindrical, spherical, none
- angleRepr string - axisAngleScaled 0 angle representation for transform port axisAngle, axisAngleScaled, RPY, eulerYZ, eulerZYZ, polarAzimuth, none
- angularUnits string - degrees 0 angle representation for transform port degrees, radians

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

yarpdev --device CartesianControlServer --name /CartesianServer --fkPeriod 20 --coordRepr cartesian --angleRepr axisAngleScaled --angularUnits degrees
yarpdev --device CartesianControlServer

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