kinematics-dynamics
Loading...
Searching...
No Matches
AsibotSolver_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:50:24 2026
12
13
14#ifndef ASIBOTSOLVER_PARAMSPARSER_H
15#define ASIBOTSOLVER_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
47class AsibotSolver_ParamsParser : public yarp::dev::IDeviceDriverParams
48{
49public:
51 ~AsibotSolver_ParamsParser() override = default;
52
53public:
54 const std::string m_device_classname = {"AsibotSolver"};
55 const std::string m_device_name = {"AsibotSolver"};
56 bool m_parser_is_strict = false;
58 {
59 int major = 2;
60 int minor = 0;
61 };
62 const parser_version_type m_parser_version = {};
63
64 std::string m_provided_configuration;
65
66 const std::string m_A0_defaultValue = {"0.3"};
67 const std::string m_A1_defaultValue = {"0.4"};
68 const std::string m_A2_defaultValue = {"0.4"};
69 const std::string m_A3_defaultValue = {"0.3"};
70 const std::string m_invKinStrategy_defaultValue = {"leastOverallAngularDisplacement"};
71 const std::string m_mins_defaultValue = {""};
72 const std::string m_maxs_defaultValue = {""};
73
74 double m_A0 = {0.3};
75 double m_A1 = {0.4};
76 double m_A2 = {0.4};
77 double m_A3 = {0.3};
78 std::string m_invKinStrategy = {"leastOverallAngularDisplacement"};
79 std::vector<double> m_mins = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
80 std::vector<double> m_maxs = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
81
82 bool parseParams(const yarp::os::Searchable & config) override;
83 std::string getDeviceClassName() const override { return m_device_classname; }
84 std::string getDeviceName() const override { return m_device_name; }
85 std::string getDocumentationOfDeviceParams() const override;
86 std::vector<std::string> getListOfParams() const override;
87 bool getParamValue(const std::string& paramName, std::string& paramValue) const override;
88 std::string getConfiguration() const override;
89};
90
91#endif
Definition AsibotSolver_ParamsParser.h:48
Definition AsibotSolver_ParamsParser.h:58