kinematics-dynamics
Loading...
Searching...
No Matches
KdlTreeSolver_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: Sat Apr 19 00:49:21 2025
12
13
14#ifndef KDLTREESOLVER_PARAMSPARSER_H
15#define KDLTREESOLVER_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
53class KdlTreeSolver_ParamsParser : public yarp::dev::IDeviceDriverParams
54{
55public:
57 ~KdlTreeSolver_ParamsParser() override = default;
58
59public:
60 const std::string m_device_classname = {"KdlTreeSolver"};
61 const std::string m_device_name = {"KdlTreeSolver"};
62 bool m_parser_is_strict = false;
64 {
65 int major = 1;
66 int minor = 0;
67 };
68 const parser_version_type m_parser_version = {};
69
70 const std::string m_kinematics_defaultValue = {""};
71 const std::string m_gravity_defaultValue = {"(0.0 0.0 9.81)"};
72 const std::string m_ikPos_defaultValue = {"nrjl"};
73 const std::string m_epsPos_defaultValue = {"1e-5"};
74 const std::string m_maxIterPos_defaultValue = {"1000"};
75 const std::string m_vTranslMax_defaultValue = {"1.0"};
76 const std::string m_vRotMax_defaultValue = {"50.0"};
77 const std::string m_lambda_defaultValue = {"0.01"};
78 const std::string m_weightsJS_defaultValue = {""};
79 const std::string m_weightsTS_defaultValue = {""};
80 const std::string m_mins_defaultValue = {""};
81 const std::string m_maxs_defaultValue = {""};
82 const std::string m_maxvels_defaultValue = {""};
83
84 std::string m_kinematics = {}; //This default value of this string is an empty string. It is highly recommended to provide a suggested value also for optional string parameters.
85 std::vector<double> m_gravity = { }; //Default values for lists are managed in the class constructor. It is highly recommended to provide a suggested value also for optional string parameters.
86 std::string m_ikPos = {"nrjl"};
87 double m_epsPos = {1e-5};
88 int m_maxIterPos = {1000};
89 double m_vTranslMax = {1.0};
90 double m_vRotMax = {50.0};
91 double m_lambda = {0.01};
92 std::vector<double> m_weightsJS = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
93 std::vector<double> m_weightsTS = {}; //The default value of this list is an empty list. It is highly recommended to provide a suggested value also for optional string parameters.
94 std::vector<double> m_mins = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
95 std::vector<double> m_maxs = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
96 std::vector<double> m_maxvels = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
97
98 bool parseParams(const yarp::os::Searchable & config) override;
99 std::string getDeviceClassName() const override { return m_device_classname; }
100 std::string getDeviceName() const override { return m_device_name; }
101 std::string getDocumentationOfDeviceParams() const override;
102 std::vector<std::string> getListOfParams() const override;
103};
104
105#endif
Definition KdlTreeSolver_ParamsParser.h:54
Definition KdlTreeSolver_ParamsParser.h:64