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 (1.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 Apr 20 14:33:40 2025
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 = 1;
70 int minor = 0;
71 };
72 const parser_version_type m_parser_version = {};
73
74 const std::string m_axes_defaultValue = {"5"};
75 const std::string m_jmcMs_defaultValue = {"20"};
76 const std::string m_mode_defaultValue = {""};
77 const std::string m_genInitPos_defaultValue = {"0.0"};
78 const std::string m_genJointTol_defaultValue = {"0.25"};
79 const std::string m_genMaxLimit_defaultValue = {"180.0"};
80 const std::string m_genMinLimit_defaultValue = {"-180.0"};
81 const std::string m_genRefSpeed_defaultValue = {"7.5"};
82 const std::string m_genEncRawExposed_defaultValue = {"0.0174532925199433"};
83 const std::string m_genVelRawExposed_defaultValue = {"0.0174532925199433"};
84 const std::string m_initPoss_defaultValue = {""};
85 const std::string m_jointTols_defaultValue = {""};
86 const std::string m_maxLimits_defaultValue = {""};
87 const std::string m_minLimits_defaultValue = {""};
88 const std::string m_refSpeeds_defaultValue = {""};
89 const std::string m_encRawExposeds_defaultValue = {""};
90 const std::string m_velRawExposeds_defaultValue = {""};
91
92 int m_axes = {5};
93 int m_jmcMs = {20};
94 std::string m_mode = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
95 double m_genInitPos = {0.0};
96 double m_genJointTol = {0.25};
97 double m_genMaxLimit = {180.0};
98 double m_genMinLimit = {-180.0};
99 double m_genRefSpeed = {7.5};
100 double m_genEncRawExposed = {0.0174532925199433};
101 double m_genVelRawExposed = {0.0174532925199433};
102 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.
103 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.
104 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.
105 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.
106 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.
107 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.
108 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.
109
110 bool parseParams(const yarp::os::Searchable & config) override;
111 std::string getDeviceClassName() const override { return m_device_classname; }
112 std::string getDeviceName() const override { return m_device_name; }
113 std::string getDocumentationOfDeviceParams() const override;
114 std::vector<std::string> getListOfParams() const override;
115};
116
117#endif
Definition EmulatedControlBoard_ParamsParser.h:58
Definition EmulatedControlBoard_ParamsParser.h:68