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 (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 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 = 1;
67 int minor = 0;
68 };
69 const parser_version_type m_parser_version = {};
70
71 const std::string m_joints_defaultValue = {"0"};
72 const std::string m_block_defaultValue = {"false"};
73 const std::string m_home_defaultValue = {"0.0"};
74 const std::string m_homeVel_defaultValue = {"0.0"};
75 const std::string m_homeAcc_defaultValue = {"0.0"};
76 const std::string m_park_defaultValue = {"0.0"};
77 const std::string m_parkVel_defaultValue = {"0.0"};
78 const std::string m_parkAcc_defaultValue = {"0.0"};
79 const std::string m_homes_defaultValue = {""};
80 const std::string m_homeVels_defaultValue = {""};
81 const std::string m_homeAccs_defaultValue = {""};
82 const std::string m_parks_defaultValue = {""};
83 const std::string m_parkVels_defaultValue = {""};
84 const std::string m_parkAccs_defaultValue = {""};
85
86 int m_joints = {0};
87 bool m_block = {false};
88 double m_home = {0.0};
89 double m_homeVel = {0.0};
90 double m_homeAcc = {0.0};
91 double m_park = {0.0};
92 double m_parkVel = {0.0};
93 double m_parkAcc = {0.0};
94 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.
95 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.
96 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.
97 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.
98 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.
99 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.
100
101 bool parseParams(const yarp::os::Searchable & config) override;
102 std::string getDeviceClassName() const override { return m_device_classname; }
103 std::string getDeviceName() const override { return m_device_name; }
104 std::string getDocumentationOfDeviceParams() const override;
105 std::vector<std::string> getListOfParams() const override;
106};
107
108#endif
Definition JointCalibrator_ParamsParser.h:55
Definition JointCalibrator_ParamsParser.h:65