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

#include <Jr3Pci_ParamsParser.h>

Inheritance diagram for Jr3Pci_ParamsParser:
Jr3Pci

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 = {"Jr3Pci"}
const std::string m_device_name = {"Jr3Pci"}
bool m_parser_is_strict = false
const parser_version_type m_parser_version = {}
std::string m_provided_configuration
const std::string m_names_defaultValue = {"(ch0 ch1 ch2 ch3)"}
const std::string m_filter_defaultValue = {"0"}
const std::string m_levogyrate_defaultValue = {"false"}
std::vector< std::string > m_names = { }
int m_filter = {0}
bool m_levogyrate = {false}

Detailed Description

This class is the parameters parser for class Jr3Pci.

These are the used parameters:

Group name Parameter name Type Units Default Value Required Description Notes
- names vector<string> - (ch0 ch1 ch2 ch3) 0 sensor names -
- filter int - 0 0 filter ID [0-6]
- levogyrate bool - false 0 assume levogyrate XYZ coordinates -

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

yarpdev --device Jr3Pci --names \" (ch0 ch1 ch2 ch3) \" --filter 0 --levogyrate false
yarpdev --device Jr3Pci

The documentation for this class was generated from the following files:
  • libraries/YarpPlugins/Jr3Pci/Jr3Pci_ParamsParser.h
  • libraries/YarpPlugins/Jr3Pci/Jr3Pci_ParamsParser.cpp