yarp-devices
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
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
 

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 = {}
 
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: