96 const std::string m_device_classname = {
"TechnosoftIpos"};
97 const std::string m_device_name = {
"TechnosoftIpos"};
98 bool m_parser_is_strict =
false;
106 std::string m_provided_configuration;
108 const std::string m_canId_defaultValue = {
""};
109 const std::string m_useEmbeddedPid_defaultValue = {
"true"};
110 const std::string m_name_defaultValue = {
""};
111 const std::string m_type_defaultValue = {
""};
112 const std::string m_max_defaultValue = {
""};
113 const std::string m_min_defaultValue = {
""};
114 const std::string m_maxVel_defaultValue = {
""};
115 const std::string m_refSpeed_defaultValue = {
""};
116 const std::string m_refAcceleration_defaultValue = {
""};
117 const std::string m_extraTr_defaultValue = {
"1.0"};
118 const std::string m_samplingPeriod_defaultValue = {
""};
119 const std::string m_reverse_defaultValue = {
""};
120 const std::string m_heartbeatPeriod_defaultValue = {
""};
121 const std::string m_syncPeriod_defaultValue = {
""};
122 const std::string m_initialControlMode_defaultValue = {
"idl"};
123 const std::string m_sdoTimeout_defaultValue = {
"0.02"};
124 const std::string m_driveStateTimeout_defaultValue = {
"2.0"};
125 const std::string m_tpdo1InhibitTime_defaultValue = {
"0.0"};
126 const std::string m_tpdo1EventTimer_defaultValue = {
"0.0"};
127 const std::string m_tpdo2InhibitTime_defaultValue = {
"0.0"};
128 const std::string m_tpdo2EventTimer_defaultValue = {
"0.0"};
129 const std::string m_monitorPeriod_defaultValue = {
"0.0"};
130 const std::string m_driver_peakCurrent_defaultValue = {
""};
131 const std::string m_motor_k_defaultValue = {
""};
132 const std::string m_gearbox_tr_defaultValue = {
""};
133 const std::string m_encoder_encoderPulses_defaultValue = {
""};
134 const std::string m_ipMode_defaultValue = {
"pt"};
135 const std::string m_ipPeriodMs_defaultValue = {
"50"};
136 const std::string m_enableIp_defaultValue = {
"false"};
137 const std::string m_enableCsv_defaultValue = {
"false"};
138 const std::string m_initialInteractionMode_defaultValue = {
"unkn"};
139 const std::string m_stiffness_defaultValue = {
"0.0"};
140 const std::string m_damping_defaultValue = {
"0.0"};
141 const std::string m_impedanceOffset_defaultValue = {
"0.0"};
142 const std::string m_minStiffness_defaultValue = {
"0.0"};
143 const std::string m_maxStiffness_defaultValue = {
"0.0"};
144 const std::string m_minDamping_defaultValue = {
"0.0"};
145 const std::string m_maxDamping_defaultValue = {
"0.0"};
146 const std::string m_kp_defaultValue = {
"0.0"};
147 const std::string m_ki_defaultValue = {
"0.0"};
148 const std::string m_kd_defaultValue = {
"0.0"};
149 const std::string m_maxInt_defaultValue = {
"0.0"};
150 const std::string m_maxOutput_defaultValue = {
"0.0"};
151 const std::string m_offset_defaultValue = {
"0.0"};
152 const std::string m_scale_defaultValue = {
"1.0"};
153 const std::string m_stictionUp_defaultValue = {
"0.0"};
154 const std::string m_stictionDown_defaultValue = {
"0.0"};
155 const std::string m_kff_defaultValue = {
"0.0"};
156 const std::string m_errorLimit_defaultValue = {
"0.0"};
159 bool m_useEmbeddedPid = {
true};
160 std::string m_name = {};
161 std::string m_type = {};
162 double m_max = {std::nan(
"1")};
163 double m_min = {std::nan(
"1")};
164 double m_maxVel = {std::nan(
"1")};
165 double m_refSpeed = {std::nan(
"1")};
166 double m_refAcceleration = {std::nan(
"1")};
167 double m_extraTr = {1.0};
168 double m_samplingPeriod = {std::nan(
"1")};
169 bool m_reverse = {
false};
170 double m_heartbeatPeriod = {std::nan(
"1")};
171 double m_syncPeriod = {std::nan(
"1")};
172 std::string m_initialControlMode = {
"idl"};
173 double m_sdoTimeout = {0.02};
174 double m_driveStateTimeout = {2.0};
175 double m_tpdo1InhibitTime = {0.0};
176 double m_tpdo1EventTimer = {0.0};
177 double m_tpdo2InhibitTime = {0.0};
178 double m_tpdo2EventTimer = {0.0};
179 double m_monitorPeriod = {0.0};
180 double m_driver_peakCurrent = {std::nan(
"1")};
181 double m_motor_k = {std::nan(
"1")};
182 double m_gearbox_tr = {std::nan(
"1")};
183 double m_encoder_encoderPulses = {std::nan(
"1")};
184 std::string m_ipMode = {
"pt"};
185 int m_ipPeriodMs = {50};
186 bool m_enableIp = {
false};
187 bool m_enableCsv = {
false};
188 std::string m_initialInteractionMode = {
"unkn"};
189 double m_stiffness = {0.0};
190 double m_damping = {0.0};
191 double m_impedanceOffset = {0.0};
192 double m_minStiffness = {0.0};
193 double m_maxStiffness = {0.0};
194 double m_minDamping = {0.0};
195 double m_maxDamping = {0.0};
199 double m_maxInt = {0.0};
200 double m_maxOutput = {0.0};
201 double m_offset = {0.0};
202 double m_scale = {1.0};
203 double m_stictionUp = {0.0};
204 double m_stictionDown = {0.0};
205 double m_kff = {0.0};
206 double m_errorLimit = {0.0};
208 bool parseParams(
const yarp::os::Searchable & config)
override;
209 std::string getDeviceClassName()
const override {
return m_device_classname; }
210 std::string getDeviceName()
const override {
return m_device_name; }
211 std::string getDocumentationOfDeviceParams()
const override;
212 std::vector<std::string> getListOfParams()
const override;
213 bool getParamValue(
const std::string& paramName, std::string& paramValue)
const override;
214 std::string getConfiguration()
const override;