yarp-devices
Loading...
Searching...
No Matches
JointCalibrator_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 JOINTCALIBRATOR_PARAMSPARSER_H
15#define JOINTCALIBRATOR_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
54class JointCalibrator_ParamsParser : public yarp::dev::IDeviceDriverParams
55{
56public:
58 ~JointCalibrator_ParamsParser() override = default;
59
60public:
61 const std::string m_device_classname = {"JointCalibrator"};
62 const std::string m_device_name = {"JointCalibrator"};
63 bool m_parser_is_strict = false;
65 {
66 int major = 2;
67 int minor = 0;
68 };
69 const parser_version_type m_parser_version = {};
70
71 std::string m_provided_configuration;
72
73 const std::string m_joints_defaultValue = {"0"};
74 const std::string m_block_defaultValue = {"false"};
75 const std::string m_home_defaultValue = {"0.0"};
76 const std::string m_homeVel_defaultValue = {"0.0"};
77 const std::string m_homeAcc_defaultValue = {"0.0"};
78 const std::string m_park_defaultValue = {"0.0"};
79 const std::string m_parkVel_defaultValue = {"0.0"};
80 const std::string m_parkAcc_defaultValue = {"0.0"};
81 const std::string m_homes_defaultValue = {""};
82 const std::string m_homeVels_defaultValue = {""};
83 const std::string m_homeAccs_defaultValue = {""};
84 const std::string m_parks_defaultValue = {""};
85 const std::string m_parkVels_defaultValue = {""};
86 const std::string m_parkAccs_defaultValue = {""};
87
88 int m_joints = {0};
89 bool m_block = {false};
90 double m_home = {0.0};
91 double m_homeVel = {0.0};
92 double m_homeAcc = {0.0};
93 double m_park = {0.0};
94 double m_parkVel = {0.0};
95 double m_parkAcc = {0.0};
96 std::vector<double> m_homes = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
97 std::vector<double> m_homeVels = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
98 std::vector<double> m_homeAccs = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
99 std::vector<double> m_parks = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
100 std::vector<double> m_parkVels = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
101 std::vector<double> m_parkAccs = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
102
103 bool parseParams(const yarp::os::Searchable & config) override;
104 std::string getDeviceClassName() const override { return m_device_classname; }
105 std::string getDeviceName() const override { return m_device_name; }
106 std::string getDocumentationOfDeviceParams() const override;
107 std::vector<std::string> getListOfParams() const override;
108 bool getParamValue(const std::string& paramName, std::string& paramValue) const override;
109 std::string getConfiguration() const override;
110};
111
112#endif
Definition JointCalibrator_ParamsParser.h:55
Definition JointCalibrator_ParamsParser.h:65