yarp-devices
Loading...
Searching...
No Matches
SpaceNavigator_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 Jul 20 01:39:59 2025
12
13
14#ifndef SPACENAVIGATOR_PARAMSPARSER_H
15#define SPACENAVIGATOR_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
48class SpaceNavigator_ParamsParser : public yarp::dev::IDeviceDriverParams
49{
50public:
52 ~SpaceNavigator_ParamsParser() override = default;
53
54public:
55 const std::string m_device_classname = {"SpaceNavigator"};
56 const std::string m_device_name = {"SpaceNavigator"};
57 bool m_parser_is_strict = false;
59 {
60 int major = 1;
61 int minor = 0;
62 };
63 const parser_version_type m_parser_version = {};
64
65 const std::string m_deadband_defaultValue = {"0.125"};
66 const std::string m_fullScaleX_defaultValue = {"460.0"};
67 const std::string m_fullScaleY_defaultValue = {"430.0"};
68 const std::string m_fullScaleZ_defaultValue = {"440.0"};
69 const std::string m_fullScaleRX_defaultValue = {"415.0"};
70 const std::string m_fullScaleRY_defaultValue = {"405.0"};
71 const std::string m_fullScaleRZ_defaultValue = {"435.0"};
72 const std::string m_maxNoDataIterations_defaultValue = {"100"};
73
74 double m_deadband = {0.125};
75 double m_fullScaleX = {460.0};
76 double m_fullScaleY = {430.0};
77 double m_fullScaleZ = {440.0};
78 double m_fullScaleRX = {415.0};
79 double m_fullScaleRY = {405.0};
80 double m_fullScaleRZ = {435.0};
81 int m_maxNoDataIterations = {100};
82
83 bool parseParams(const yarp::os::Searchable & config) override;
84 std::string getDeviceClassName() const override { return m_device_classname; }
85 std::string getDeviceName() const override { return m_device_name; }
86 std::string getDocumentationOfDeviceParams() const override;
87 std::vector<std::string> getListOfParams() const override;
88};
89
90#endif
Definition SpaceNavigator_ParamsParser.h:49
Definition SpaceNavigator_ParamsParser.h:59