yarp-devices
Loading...
Searching...
No Matches
EmulatedControlBoard_ParamsParser.h
1/*
2 * SPDX-FileCopyrightText: 2023-2023 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6
7// Generated by yarpDeviceParamParserGenerator (2.0)
8// This is an automatically generated file. Please do not edit it.
9// It will be re-generated if the cmake flag ALLOW_DEVICE_PARAM_PARSER_GERNERATION is ON.
10
11// Generated on: Sun May 3 12:41:45 2026
12
13
14#ifndef EMULATEDCONTROLBOARD_PARAMSPARSER_H
15#define EMULATEDCONTROLBOARD_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
57class EmulatedControlBoard_ParamsParser : public yarp::dev::IDeviceDriverParams
58{
59public:
61 ~EmulatedControlBoard_ParamsParser() override = default;
62
63public:
64 const std::string m_device_classname = {"EmulatedControlBoard"};
65 const std::string m_device_name = {"EmulatedControlBoard"};
66 bool m_parser_is_strict = false;
68 {
69 int major = 2;
70 int minor = 0;
71 };
72 const parser_version_type m_parser_version = {};
73
74 std::string m_provided_configuration;
75
76 const std::string m_axes_defaultValue = {"5"};
77 const std::string m_jmcMs_defaultValue = {"20"};
78 const std::string m_mode_defaultValue = {""};
79 const std::string m_genInitPos_defaultValue = {"0.0"};
80 const std::string m_genJointTol_defaultValue = {"0.25"};
81 const std::string m_genMaxLimit_defaultValue = {"180.0"};
82 const std::string m_genMinLimit_defaultValue = {"-180.0"};
83 const std::string m_genRefSpeed_defaultValue = {"7.5"};
84 const std::string m_genEncRawExposed_defaultValue = {"0.0174532925199433"};
85 const std::string m_genVelRawExposed_defaultValue = {"0.0174532925199433"};
86 const std::string m_initPoss_defaultValue = {""};
87 const std::string m_jointTols_defaultValue = {""};
88 const std::string m_maxLimits_defaultValue = {""};
89 const std::string m_minLimits_defaultValue = {""};
90 const std::string m_refSpeeds_defaultValue = {""};
91 const std::string m_encRawExposeds_defaultValue = {""};
92 const std::string m_velRawExposeds_defaultValue = {""};
93
94 int m_axes = {5};
95 int m_jmcMs = {20};
96 std::string m_mode = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
97 double m_genInitPos = {0.0};
98 double m_genJointTol = {0.25};
99 double m_genMaxLimit = {180.0};
100 double m_genMinLimit = {-180.0};
101 double m_genRefSpeed = {7.5};
102 double m_genEncRawExposed = {0.0174532925199433};
103 double m_genVelRawExposed = {0.0174532925199433};
104 std::vector<double> m_initPoss = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
105 std::vector<double> m_jointTols = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
106 std::vector<double> m_maxLimits = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
107 std::vector<double> m_minLimits = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
108 std::vector<double> m_refSpeeds = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
109 std::vector<double> m_encRawExposeds = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
110 std::vector<double> m_velRawExposeds = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
111
112 bool parseParams(const yarp::os::Searchable & config) override;
113 std::string getDeviceClassName() const override { return m_device_classname; }
114 std::string getDeviceName() const override { return m_device_name; }
115 std::string getDocumentationOfDeviceParams() const override;
116 std::vector<std::string> getListOfParams() const override;
117 bool getParamValue(const std::string& paramName, std::string& paramValue) const override;
118 std::string getConfiguration() const override;
119};
120
121#endif
Definition EmulatedControlBoard_ParamsParser.h:58
Definition EmulatedControlBoard_ParamsParser.h:68