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