|
yarp-devices
|
#include <Wiimote_ParamsParser.h>
Classes | |
| struct | parser_version_type |
Public Attributes | |
| const std::string | m_device_classname = {"Wiimote"} |
| const std::string | m_device_name = {"Wiimote"} |
| bool | m_parser_is_strict = false |
| const parser_version_type | m_parser_version = {} |
| const std::string | m_deviceId_defaultValue = {"1"} |
| const std::string | m_calibZeroX_defaultValue = {"-30"} |
| const std::string | m_calibZeroY_defaultValue = {"-22"} |
| const std::string | m_calibZeroZ_defaultValue = {"72"} |
| const std::string | m_calibOneX_defaultValue = {"69"} |
| const std::string | m_calibOneY_defaultValue = {"-123"} |
| const std::string | m_calibOneZ_defaultValue = {"-25"} |
| int | m_deviceId = {1} |
| int | m_calibZeroX = {-30} |
| int | m_calibZeroY = {-22} |
| int | m_calibZeroZ = {72} |
| int | m_calibOneX = {69} |
| int | m_calibOneY = {-123} |
| int | m_calibOneZ = {-25} |
This class is the parameters parser for class Wiimote.
These are the used parameters:
| Group name | Parameter name | Type | Units | Default Value | Required | Description | Notes |
|---|---|---|---|---|---|---|---|
| - | deviceId | int | - | 1 | 0 | Wiimote device number | - |
| - | calibZeroX | int | - | -30 | 0 | normalization value for X axis (zero) | - |
| - | calibZeroY | int | - | -22 | 0 | normalization value for Y axis (zero) | - |
| - | calibZeroZ | int | - | 72 | 0 | normalization value for Z axis (zero) | - |
| - | calibOneX | int | - | 69 | 0 | normalization value for X axis (one) | - |
| - | calibOneY | int | - | -123 | 0 | normalization value for Y axis (one) | - |
| - | calibOneZ | int | - | -25 | 0 | normalization value for Z axis (one) | - |
The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):