YouBotJointParameter.cpp
Go to the documentation of this file.
1 /****************************************************************
2  *
3  * Copyright (c) 2011
4  * All rights reserved.
5  *
6  * Hochschule Bonn-Rhein-Sieg
7  * University of Applied Sciences
8  * Computer Science Department
9  *
10  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11  *
12  * Author:
13  * Jan Paulus, Nico Hochgeschwender, Michael Reckhaus, Azamat Shakhimardanov
14  * Supervised by:
15  * Gerhard K. Kraetzschmar
16  *
17  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18  *
19  * This sofware is published under a dual-license: GNU Lesser General Public
20  * License LGPL 2.1 and BSD license. The dual-license implies that users of this
21  * code may choose which terms they prefer.
22  *
23  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24  *
25  * Redistribution and use in source and binary forms, with or without
26  * modification, are permitted provided that the following conditions are met:
27  *
28  * * Redistributions of source code must retain the above copyright
29  * notice, this list of conditions and the following disclaimer.
30  * * Redistributions in binary form must reproduce the above copyright
31  * notice, this list of conditions and the following disclaimer in the
32  * documentation and/or other materials provided with the distribution.
33  * * Neither the name of the Hochschule Bonn-Rhein-Sieg nor the names of its
34  * contributors may be used to endorse or promote products derived from
35  * this software without specific prior written permission.
36  *
37  * This program is free software: you can redistribute it and/or modify
38  * it under the terms of the GNU Lesser General Public License LGPL as
39  * published by the Free Software Foundation, either version 2.1 of the
40  * License, or (at your option) any later version or the BSD license.
41  *
42  * This program is distributed in the hope that it will be useful,
43  * but WITHOUT ANY WARRANTY; without even the implied warranty of
44  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45  * GNU Lesser General Public License LGPL and the BSD license for more details.
46  *
47  * You should have received a copy of the GNU Lesser General Public
48  * License LGPL and BSD license along with this program.
49  *
50  ****************************************************************/
52 namespace youbot {
53 
55  // Bouml preserved body begin 000D91F1
56  // Bouml preserved body end 000D91F1
57 }
58 
60  // Bouml preserved body begin 000D9271
61  // Bouml preserved body end 000D9271
62 }
63 
65  // Bouml preserved body begin 0005BB71
66  // Bouml preserved body end 0005BB71
67 }
68 
70  // Bouml preserved body begin 0005BBF1
71  // Bouml preserved body end 0005BBF1
72 }
73 
75  // Bouml preserved body begin 0005C0F1
76  this->name = "JointName";
78  // Bouml preserved body end 0005C0F1
79 }
80 
82  // Bouml preserved body begin 0005C171
83  // Bouml preserved body end 0005C171
84 }
85 
86 void JointName::getParameter(std::string& parameter) const {
87  // Bouml preserved body begin 0005C1F1
88  parameter = this->value;
89  // Bouml preserved body end 0005C1F1
90 }
91 
92 void JointName::setParameter(const std::string parameter) {
93  // Bouml preserved body begin 0005C271
94  this->value = parameter;
95  // Bouml preserved body end 0005C271
96 }
97 
98 void JointName::toString(std::string& value) {
99  // Bouml preserved body begin 0009C471
100  std::stringstream ss;
101  ss << this->name << ": " << this->value;
102  value = ss.str();
103  // Bouml preserved body end 0009C471
104 }
105 
107  // Bouml preserved body begin 00095171
108  this->name = "InitializeJoint";
110  // Bouml preserved body end 00095171
111 }
112 
114  // Bouml preserved body begin 000951F1
115  // Bouml preserved body end 000951F1
116 }
117 
118 void InitializeJoint::getParameter(bool& parameter) const {
119  // Bouml preserved body begin 00095271
120  parameter = this->value;
121  // Bouml preserved body end 00095271
122 }
123 
124 void InitializeJoint::setParameter(const bool parameter) {
125  // Bouml preserved body begin 000952F1
126  this->value = parameter;
127  // Bouml preserved body end 000952F1
128 }
129 
130 void InitializeJoint::toString(std::string& value) {
131  // Bouml preserved body begin 0009C971
132  std::stringstream ss;
133  ss << this->name << ": " << this->value;
134  value = ss.str();
135  // Bouml preserved body end 0009C971
136 }
137 
139  // Bouml preserved body begin 00095371
140  message.stctOutput.commandNumber = msgType;
141  message.stctOutput.moduleAddress = DRIVE;
142  message.stctOutput.typeNumber = 15; //InitializeJoint
143  message.stctOutput.value = (int)this->value;
144  // Bouml preserved body end 00095371
145 }
146 
148  // Bouml preserved body begin 000953F1
149  this->value = message.stctInput.value;
150  // Bouml preserved body end 000953F1
151 }
152 
154  // Bouml preserved body begin 00061F71
155  this->name = "CalibrateJoint";
157  // Bouml preserved body end 00061F71
158 }
159 
161  // Bouml preserved body begin 00061FF1
162  // Bouml preserved body end 00061FF1
163 }
164 
165 void CalibrateJoint::getParameter(bool& doCalibration, CalibrationDirection& calibrationDirection, quantity<si::current>& maxCurrent) const {
166  // Bouml preserved body begin 00062071
167  doCalibration = this->doCalibration;
168  calibrationDirection = this->calibrationDirection;
169  maxCurrent = this->maxCurrent;
170  // Bouml preserved body end 00062071
171 }
172 
173 void CalibrateJoint::setParameter(const bool doCalibration, CalibrationDirection calibrationDirection, const quantity<si::current>& maxCurrent) {
174  // Bouml preserved body begin 000620F1
175  this->doCalibration = doCalibration;
176  this->calibrationDirection = calibrationDirection;
177  this->maxCurrent = maxCurrent;
178  // Bouml preserved body end 000620F1
179 }
180 
181 void CalibrateJoint::toString(std::string& value) {
182  // Bouml preserved body begin 0009C771
183  std::stringstream ss;
184  ss << this->name << ": " << "doCalibration " <<this->doCalibration << " calibrationDirection "<< this->calibrationDirection << " maxCurrent " << this->maxCurrent.value();
185  value = ss.str();
186  // Bouml preserved body end 0009C771
187 }
188 
190  // Bouml preserved body begin 00098D71
191  this->name = "FirmwareVersion";
193  // Bouml preserved body end 00098D71
194 }
195 
197  // Bouml preserved body begin 00098DF1
198  // Bouml preserved body end 00098DF1
199 }
200 
201 void FirmwareVersion::getParameter(int& controllerType, std::string& firmwareVersion) const {
202  // Bouml preserved body begin 00098E71
203  controllerType = this->controllerType;
204  firmwareVersion = this->firmwareVersion;
205  // Bouml preserved body end 00098E71
206 }
207 
208 void FirmwareVersion::setParameter(const int controllerType, const std::string firmwareVersion) {
209  // Bouml preserved body begin 00098EF1
210  this->controllerType = controllerType;
211  this->firmwareVersion = firmwareVersion;
212  // Bouml preserved body end 00098EF1
213 }
214 
215 void FirmwareVersion::toString(std::string& value) {
216  // Bouml preserved body begin 0009C571
217  std::stringstream ss;
218  ss << this->name << ": Controller: " << this->controllerType << " Version: " << this->firmwareVersion;
219  value = ss.str();
220  // Bouml preserved body end 0009C571
221 }
222 
224  // Bouml preserved body begin 00098F71
226  message.stctOutput.moduleAddress = DRIVE;
227  message.stctOutput.typeNumber = 0; //FirmwareVersion
228  message.stctOutput.value = 0;
229  // Bouml preserved body end 00098F71
230 }
231 
233  // Bouml preserved body begin 00098FF1
234  // Bouml preserved body end 00098FF1
235 }
236 
238  // Bouml preserved body begin 0005BDF1
239  this->name = "GearRatio";
241  // Bouml preserved body end 0005BDF1
242 }
243 
245  // Bouml preserved body begin 0005BE71
246  // Bouml preserved body end 0005BE71
247 }
248 
249 void GearRatio::getParameter(double& parameter) const {
250  // Bouml preserved body begin 0005BEF1
251  parameter = this->value;
252  // Bouml preserved body end 0005BEF1
253 }
254 
255 void GearRatio::setParameter(const double parameter) {
256  // Bouml preserved body begin 0005BF71
257  if (parameter == 0) {
258  throw std::out_of_range("A Gear Ratio of 0 is not allowed");
259  }
260  this->value = parameter;
261  // Bouml preserved body end 0005BF71
262 }
263 
264 void GearRatio::toString(std::string& value) {
265  // Bouml preserved body begin 0009C5F1
266  std::stringstream ss;
267  ss << this->name << ": " << this->value;
268  value = ss.str();
269  // Bouml preserved body end 0009C5F1
270 }
271 
273  // Bouml preserved body begin 0005C3F1
274  this->name = "EncoderTicksPerRound";
276  // Bouml preserved body end 0005C3F1
277 }
278 
280  // Bouml preserved body begin 0005C471
281  // Bouml preserved body end 0005C471
282 }
283 
284 void EncoderTicksPerRound::getParameter(unsigned int& parameter) const {
285  // Bouml preserved body begin 0005C4F1
286  parameter = this->value;
287  // Bouml preserved body end 0005C4F1
288 }
289 
290 void EncoderTicksPerRound::setParameter(const unsigned int parameter) {
291  // Bouml preserved body begin 0005C571
292  if (parameter == 0) {
293  throw std::out_of_range("Zero Encoder Ticks per Round are not allowed");
294  }
295  this->value = parameter;
296  // Bouml preserved body end 0005C571
297 }
298 
299 void EncoderTicksPerRound::toString(std::string& value) {
300  // Bouml preserved body begin 0009C671
301  std::stringstream ss;
302  ss << this->name << ": " << this->value;
303  value = ss.str();
304  // Bouml preserved body end 0009C671
305 }
306 
308  // Bouml preserved body begin 0005C6F1
309  this->name = "InverseMovementDirection";
311  // Bouml preserved body end 0005C6F1
312 }
313 
315  // Bouml preserved body begin 0005C771
316  // Bouml preserved body end 0005C771
317 }
318 
319 void InverseMovementDirection::getParameter(bool& parameter) const {
320  // Bouml preserved body begin 0005C7F1
321  parameter = this->value;
322  // Bouml preserved body end 0005C7F1
323 }
324 
325 void InverseMovementDirection::setParameter(const bool parameter) {
326  // Bouml preserved body begin 0005C871
327  this->value = parameter;
328  // Bouml preserved body end 0005C871
329 }
330 
331 void InverseMovementDirection::toString(std::string& value) {
332  // Bouml preserved body begin 0009C6F1
333  std::stringstream ss;
334  ss << this->name << ": " << this->value;
335  value = ss.str();
336  // Bouml preserved body end 0009C6F1
337 }
338 
340  // Bouml preserved body begin 00063EF1
341  this->name = "JointLimits";
343  this->lowerLimit = 0;
344  this->upperLimit = 0;
345  this->areLimitsActive = true;
346  // Bouml preserved body end 00063EF1
347 }
348 
350  // Bouml preserved body begin 00063F71
351  // Bouml preserved body end 00063F71
352 }
353 
354 void JointLimits::getParameter(int& lowerLimit, int& upperLimit, bool& areLimitsActive) const {
355  // Bouml preserved body begin 00063FF1
356  lowerLimit = this->lowerLimit;
357  upperLimit = this->upperLimit;
358  areLimitsActive = this->areLimitsActive;
359  // Bouml preserved body end 00063FF1
360 }
361 
362 void JointLimits::setParameter(const int lowerLimit, const int upperLimit, const bool activateLimits) {
363  // Bouml preserved body begin 00064071
364  if (lowerLimit > upperLimit) {
365  throw std::out_of_range("The lower joint limit it not allowed to be bigger than the upper limit");
366  }
367  this->lowerLimit = lowerLimit;
368  this->upperLimit = upperLimit;
369  this->areLimitsActive = activateLimits;
370  // Bouml preserved body end 00064071
371 }
372 
373 void JointLimits::toString(std::string& value) {
374  // Bouml preserved body begin 0009C7F1
375  std::stringstream ss;
376  ss << this->name << ": lower Limit: " << this->lowerLimit << " upper Limit: " << this->upperLimit;
377  value = ss.str();
378  // Bouml preserved body end 0009C7F1
379 }
380 
382  // Bouml preserved body begin 000D3EF1
383  this->name = "JointLimitsRadian";
385  this->lowerLimit = 0;
386  this->upperLimit = 0;
387  this->areLimitsActive = true;
388  // Bouml preserved body end 000D3EF1
389 }
390 
392  // Bouml preserved body begin 000D3F71
393  // Bouml preserved body end 000D3F71
394 }
395 
396 void JointLimitsRadian::getParameter(quantity<plane_angle>& lowerLimit, quantity<plane_angle>& upperLimit, bool& areLimitsActive) const {
397  // Bouml preserved body begin 000D3FF1
398  lowerLimit = this->lowerLimit;
399  upperLimit = this->upperLimit;
400  areLimitsActive = this->areLimitsActive;
401  // Bouml preserved body end 000D3FF1
402 }
403 
404 void JointLimitsRadian::setParameter(const quantity<plane_angle>& lowerLimit, const quantity<plane_angle>& upperLimit, const bool activateLimits) {
405  // Bouml preserved body begin 000D4071
406  if (lowerLimit > upperLimit) {
407  throw std::out_of_range("The lower joint limit it not allowed to be bigger than the upper limit");
408  }
409  this->lowerLimit = lowerLimit;
410  this->upperLimit = upperLimit;
411  this->areLimitsActive = activateLimits;
412  // Bouml preserved body end 000D4071
413 }
414 
415 void JointLimitsRadian::toString(std::string& value) {
416  // Bouml preserved body begin 000D40F1
417  std::stringstream ss;
418  ss << this->name << ": lower Limit: " << this->lowerLimit.value() << " upper Limit: " << this->upperLimit.value();
419  value = ss.str();
420  // Bouml preserved body end 000D40F1
421 }
422 
424  // Bouml preserved body begin 000C71F1
425  this->name = "TorqueConstant";
427  // Bouml preserved body end 000C71F1
428 }
429 
431  // Bouml preserved body begin 000C7271
432  // Bouml preserved body end 000C7271
433 }
434 
435 void TorqueConstant::getParameter(double& parameter) const {
436  // Bouml preserved body begin 000C72F1
437  parameter = this->value;
438  // Bouml preserved body end 000C72F1
439 }
440 
441 void TorqueConstant::setParameter(const double parameter) {
442  // Bouml preserved body begin 000C7371
443  if (parameter == 0 || parameter < 0) {
444  throw std::out_of_range("It is not allowed to set a zero or negative torque constant");
445  }
446  this->value = parameter;
447  // Bouml preserved body end 000C7371
448 }
449 
450 void TorqueConstant::toString(std::string& value) {
451  // Bouml preserved body begin 000C73F1
452  std::stringstream ss;
453  ss << this->name << ": " << this->value;
454  value = ss.str();
455  // Bouml preserved body end 000C73F1
456 }
457 
459  // Bouml preserved body begin 0005A171
460  this->name = "MaximumPositioningVelocity";
461  this->lowerLimit = INT_MIN * radian_per_second;
462  this->upperLimit = INT_MAX * radian_per_second;
464  // Bouml preserved body end 0005A171
465 }
466 
468  // Bouml preserved body begin 0005A1F1
469  // Bouml preserved body end 0005A1F1
470 }
471 
472 void MaximumPositioningVelocity::getParameter(quantity<angular_velocity>& parameter) const {
473  // Bouml preserved body begin 00059CF1
474  parameter = this->value;
475  // Bouml preserved body end 00059CF1
476 }
477 
478 void MaximumPositioningVelocity::setParameter(const quantity<angular_velocity>& parameter) {
479  // Bouml preserved body begin 00059C71
480  if (this->lowerLimit > parameter) {
481  throw std::out_of_range("The parameter exceeds the lower limit");
482  }
483  if (this->upperLimit < parameter) {
484  throw std::out_of_range("The parameter exceeds the upper limit");
485  }
486 
487  this->value = parameter;
488  // Bouml preserved body end 00059C71
489 }
490 
491 void MaximumPositioningVelocity::toString(std::string& value) {
492  // Bouml preserved body begin 0009C4F1
493  std::stringstream ss;
494  ss << this->name << ": " << this->value.value();
495  value = ss.str();
496  // Bouml preserved body end 0009C4F1
497 }
498 
500  // Bouml preserved body begin 0005A0F1
501 
502  message.stctOutput.commandNumber = msgType;
503  message.stctOutput.moduleAddress = DRIVE;
504  message.stctOutput.typeNumber = 4; //MaximumPositioningVelocity
505  message.stctOutput.value = (int32) boost::math::round((value.value() / (storage.gearRatio * 2.0 * M_PI)) * 60.0);
506 
507  // Bouml preserved body end 0005A0F1
508 }
509 
511  // Bouml preserved body begin 0005A071
512  double motorRPM = (int32)message.stctInput.value;
513  this->value = ((motorRPM / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second;
514  // Bouml preserved body end 0005A071
515 }
516 
518  // Bouml preserved body begin 0006A9F1
519  this->name = "MotorAcceleration";
520  this->lowerLimit = INT_MIN * radian_per_second/second;
521  this->upperLimit = INT_MAX * radian_per_second/second;
523  // Bouml preserved body end 0006A9F1
524 }
525 
527  // Bouml preserved body begin 0006AA71
528  // Bouml preserved body end 0006AA71
529 }
530 
531 void MotorAcceleration::getParameter(quantity<angular_acceleration>& parameter) const {
532  // Bouml preserved body begin 0006AAF1
533  parameter = this->value;
534  // Bouml preserved body end 0006AAF1
535 }
536 
537 void MotorAcceleration::setParameter(const quantity<angular_acceleration>& parameter) {
538  // Bouml preserved body begin 0006AB71
539  if (this->lowerLimit > parameter) {
540  throw std::out_of_range("The parameter exceeds the lower limit");
541  }
542  if (this->upperLimit < parameter) {
543  throw std::out_of_range("The parameter exceeds the upper limit");
544  }
545 
546  this->value = parameter;
547  // Bouml preserved body end 0006AB71
548 }
549 
550 void MotorAcceleration::toString(std::string& value) {
551  // Bouml preserved body begin 0009CCF1
552  std::stringstream ss;
553  ss << this->name << ": " << this->value.value();
554  value = ss.str();
555  // Bouml preserved body end 0009CCF1
556 }
557 
559  // Bouml preserved body begin 0006ABF1
560 
561  message.stctOutput.commandNumber = msgType;
562  message.stctOutput.moduleAddress = DRIVE;
563  message.stctOutput.typeNumber = 11; //MotorAcceleration
564  message.stctOutput.value = (int32) boost::math::round((value.value() / (storage.gearRatio * 2.0 * M_PI)) * 60.0);
565 
566  // Bouml preserved body end 0006ABF1
567 }
568 
570  // Bouml preserved body begin 0006AC71
571  double motorRPMperSec = (int32)message.stctInput.value;
572  this->value = ((motorRPMperSec / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second/second;
573  // Bouml preserved body end 0006AC71
574 }
575 
577  // Bouml preserved body begin 0006C5F1
578  this->name = "RampGeneratorSpeedAndPositionControl";
580  // Bouml preserved body end 0006C5F1
581 }
582 
584  // Bouml preserved body begin 0006C671
585  // Bouml preserved body end 0006C671
586 }
587 
589  // Bouml preserved body begin 0006C6F1
590  parameter = this->value;
591  // Bouml preserved body end 0006C6F1
592 }
593 
595  // Bouml preserved body begin 0006C771
596  this->value = parameter;
597  // Bouml preserved body end 0006C771
598 }
599 
601  // Bouml preserved body begin 0009D471
602  std::stringstream ss;
603  ss << this->name << ": " << this->value;
604  value = ss.str();
605  // Bouml preserved body end 0009D471
606 }
607 
609  // Bouml preserved body begin 0006C7F1
610 
611  message.stctOutput.commandNumber = msgType;
612  message.stctOutput.moduleAddress = DRIVE;
613  message.stctOutput.typeNumber = 146; //RampGeneratorSpeedAndPositionControl
614  message.stctOutput.value = value;
615 
616  // Bouml preserved body end 0006C7F1
617 }
618 
620  // Bouml preserved body begin 0006C871
621  this->value = message.stctInput.value;
622  // Bouml preserved body end 0006C871
623 }
624 
626  // Bouml preserved body begin 0006F9F1
627  this->name = "PositionControlSwitchingThreshold";
628  this->lowerLimit = INT_MIN * radian_per_second;
629  this->upperLimit = INT_MAX * radian_per_second;
631  // Bouml preserved body end 0006F9F1
632 }
633 
635  // Bouml preserved body begin 0006FA71
636  // Bouml preserved body end 0006FA71
637 }
638 
639 void PositionControlSwitchingThreshold::getParameter(quantity<angular_velocity>& parameter) const {
640  // Bouml preserved body begin 0006FAF1
641  parameter = this->value;
642  // Bouml preserved body end 0006FAF1
643 }
644 
645 void PositionControlSwitchingThreshold::setParameter(const quantity<angular_velocity>& parameter) {
646  // Bouml preserved body begin 0006FB71
647  if (this->lowerLimit > parameter) {
648  throw std::out_of_range("The parameter exceeds the lower limit");
649  }
650  if (this->upperLimit < parameter) {
651  throw std::out_of_range("The parameter exceeds the upper limit");
652  }
653 
654  this->value = parameter;
655  // Bouml preserved body end 0006FB71
656 }
657 
659  // Bouml preserved body begin 0009CD71
660  std::stringstream ss;
661  ss << this->name << ": " << this->value.value();
662  value = ss.str();
663  // Bouml preserved body end 0009CD71
664 }
665 
667  // Bouml preserved body begin 0006FBF1
668 
669  message.stctOutput.commandNumber = msgType;
670  message.stctOutput.moduleAddress = DRIVE;
671  message.stctOutput.typeNumber = 12; //PositionControlSwitchingThreshold
672  message.stctOutput.value = (int32) boost::math::round((value.value() / (storage.gearRatio * 2.0 * M_PI)) * 60.0);
673 
674  // Bouml preserved body end 0006FBF1
675 }
676 
678  // Bouml preserved body begin 0006FC71
679  double motorRPM = (int32)message.stctInput.value;
680  this->value = ((motorRPM / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second;
681  // Bouml preserved body end 0006FC71
682 }
683 
685  // Bouml preserved body begin 0006A1F1
686  this->name = "SpeedControlSwitchingThreshold";
687  this->lowerLimit = INT_MIN * radian_per_second;
688  this->upperLimit = INT_MAX * radian_per_second;
690  // Bouml preserved body end 0006A1F1
691 }
692 
694  // Bouml preserved body begin 0006A271
695  // Bouml preserved body end 0006A271
696 }
697 
698 void SpeedControlSwitchingThreshold::getParameter(quantity<angular_velocity>& parameter) const {
699  // Bouml preserved body begin 0006A2F1
700  parameter = this->value;
701  // Bouml preserved body end 0006A2F1
702 }
703 
704 void SpeedControlSwitchingThreshold::setParameter(const quantity<angular_velocity>& parameter) {
705  // Bouml preserved body begin 0006A371
706  if (this->lowerLimit > parameter) {
707  throw std::out_of_range("The parameter exceeds the lower limit");
708  }
709  if (this->upperLimit < parameter) {
710  throw std::out_of_range("The parameter exceeds the upper limit");
711  }
712 
713  this->value = parameter;
714  // Bouml preserved body end 0006A371
715 }
716 
718  // Bouml preserved body begin 0009CB71
719  std::stringstream ss;
720  ss << this->name << ": " << this->value.value();
721  value = ss.str();
722  // Bouml preserved body end 0009CB71
723 }
724 
726  // Bouml preserved body begin 0006A3F1
727 
728  message.stctOutput.commandNumber = msgType;
729  message.stctOutput.moduleAddress = DRIVE;
730  message.stctOutput.typeNumber = 8; //SpeedControlSwitchingThreshold
731  message.stctOutput.value = (int32) boost::math::round((value.value() / (storage.gearRatio * 2.0 * M_PI)) * 60.0);
732 
733  // Bouml preserved body end 0006A3F1
734 }
735 
737  // Bouml preserved body begin 0006A471
738  double motorRPM = (int32)message.stctInput.value;
739  this->value = ((motorRPM / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second;
740  // Bouml preserved body end 0006A471
741 }
742 
744  // Bouml preserved body begin 00107FF1
745  this->name = "VelocityThresholdForHallFX";
746  this->lowerLimit = INT_MIN * radian_per_second;
747  this->upperLimit = INT_MAX * radian_per_second;
749  // Bouml preserved body end 00107FF1
750 }
751 
753  // Bouml preserved body begin 00108071
754  // Bouml preserved body end 00108071
755 }
756 
757 void VelocityThresholdForHallFX::getParameter(quantity<angular_velocity>& parameter) const {
758  // Bouml preserved body begin 001080F1
759  parameter = this->value;
760  // Bouml preserved body end 001080F1
761 }
762 
763 void VelocityThresholdForHallFX::setParameter(const quantity<angular_velocity>& parameter) {
764  // Bouml preserved body begin 00108171
765  if (this->lowerLimit > parameter) {
766  throw std::out_of_range("The parameter exceeds the lower limit");
767  }
768  if (this->upperLimit < parameter) {
769  throw std::out_of_range("The parameter exceeds the upper limit");
770  }
771 
772  this->value = parameter;
773  // Bouml preserved body end 00108171
774 }
775 
776 void VelocityThresholdForHallFX::toString(std::string& value) {
777  // Bouml preserved body begin 001081F1
778  std::stringstream ss;
779  ss << this->name << ": " << this->value.value();
780  value = ss.str();
781  // Bouml preserved body end 001081F1
782 }
783 
785  // Bouml preserved body begin 00108271
786 
787  message.stctOutput.commandNumber = msgType;
788  message.stctOutput.moduleAddress = DRIVE;
789  message.stctOutput.typeNumber = 14; //VelocityThresholdForHallFX
790  message.stctOutput.value = (int32) boost::math::round((value.value() / (storage.gearRatio * 2.0 * M_PI)) * 60.0);
791 
792  // Bouml preserved body end 00108271
793 }
794 
796  // Bouml preserved body begin 001082F1
797  double motorRPM = (int32)message.stctInput.value;
798  this->value = ((motorRPM / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second;
799  // Bouml preserved body end 001082F1
800 }
801 
803  // Bouml preserved body begin 0005C9F1
804  this->name = "PParameterFirstParametersPositionControl";
805  this->lowerLimit = 0;
806  this->upperLimit = INT_MAX;
808  // Bouml preserved body end 0005C9F1
809 }
810 
812  // Bouml preserved body begin 0005CA71
813  // Bouml preserved body end 0005CA71
814 }
815 
817  // Bouml preserved body begin 0005CAF1
818  parameter = this->value;
819  // Bouml preserved body end 0005CAF1
820 }
821 
823  // Bouml preserved body begin 0005CB71
824  if (this->lowerLimit > parameter) {
825  throw std::out_of_range("The parameter exceeds the lower limit");
826  }
827  if (this->upperLimit < parameter) {
828  throw std::out_of_range("The parameter exceeds the upper limit");
829  }
830 
831  this->value = parameter;
832  // Bouml preserved body end 0005CB71
833 }
834 
836  // Bouml preserved body begin 0009CDF1
837  std::stringstream ss;
838  ss << this->name << ": " << this->value;
839  value = ss.str();
840  // Bouml preserved body end 0009CDF1
841 }
842 
844  // Bouml preserved body begin 0005CBF1
845 
846  message.stctOutput.commandNumber = msgType;
847  message.stctOutput.moduleAddress = DRIVE;
848  message.stctOutput.typeNumber = 130; //PParameterFirstParametersPositionControl
849  message.stctOutput.value = value;
850 
851  // Bouml preserved body end 0005CBF1
852 }
853 
855  // Bouml preserved body begin 0005CC71
856  this->value = (int32)message.stctInput.value;
857  // Bouml preserved body end 0005CC71
858 }
859 
861  // Bouml preserved body begin 000699F1
862  this->name = "IParameterFirstParametersPositionControl";
863  this->lowerLimit = INT_MIN;
864  this->upperLimit = INT_MAX;
866  // Bouml preserved body end 000699F1
867 }
868 
870  // Bouml preserved body begin 00069A71
871  // Bouml preserved body end 00069A71
872 }
873 
875  // Bouml preserved body begin 00069AF1
876  parameter = this->value;
877  // Bouml preserved body end 00069AF1
878 }
879 
881  // Bouml preserved body begin 00069B71
882  if (this->lowerLimit > parameter) {
883  throw std::out_of_range("The parameter exceeds the lower limit");
884  }
885  if (this->upperLimit < parameter) {
886  throw std::out_of_range("The parameter exceeds the upper limit");
887  }
888 
889  this->value = parameter;
890  // Bouml preserved body end 00069B71
891 }
892 
894  // Bouml preserved body begin 0009CE71
895  std::stringstream ss;
896  ss << this->name << ": " << this->value;
897  value = ss.str();
898  // Bouml preserved body end 0009CE71
899 }
900 
902  // Bouml preserved body begin 00069BF1
903 
904  message.stctOutput.commandNumber = msgType;
905  message.stctOutput.moduleAddress = DRIVE;
906  message.stctOutput.typeNumber = 131; //IParameterFirstParametersPositionControl
907  message.stctOutput.value = value;
908 
909  // Bouml preserved body end 00069BF1
910 }
911 
913  // Bouml preserved body begin 00069C71
914  this->value = (int32)message.stctInput.value;
915  // Bouml preserved body end 00069C71
916 }
917 
919  // Bouml preserved body begin 00069DF1
920  this->name = "DParameterFirstParametersPositionControl";
921  this->lowerLimit = INT_MIN;
922  this->upperLimit = INT_MAX;
924  // Bouml preserved body end 00069DF1
925 }
926 
928  // Bouml preserved body begin 00069E71
929  // Bouml preserved body end 00069E71
930 }
931 
933  // Bouml preserved body begin 00069EF1
934  parameter = this->value;
935  // Bouml preserved body end 00069EF1
936 }
937 
939  // Bouml preserved body begin 00069F71
940  if (this->lowerLimit > parameter) {
941  throw std::out_of_range("The parameter exceeds the lower limit");
942  }
943  if (this->upperLimit < parameter) {
944  throw std::out_of_range("The parameter exceeds the upper limit");
945  }
946 
947  this->value = parameter;
948  // Bouml preserved body end 00069F71
949 }
950 
952  // Bouml preserved body begin 0009CEF1
953  std::stringstream ss;
954  ss << this->name << ": " << this->value;
955  value = ss.str();
956  // Bouml preserved body end 0009CEF1
957 }
958 
960  // Bouml preserved body begin 00069FF1
961 
962  message.stctOutput.commandNumber = msgType;
963  message.stctOutput.moduleAddress = DRIVE;
964  message.stctOutput.typeNumber = 132; //DParameterFirstParametersPositionControl
965  message.stctOutput.value = value;
966 
967  // Bouml preserved body end 00069FF1
968 }
969 
971  // Bouml preserved body begin 0006A071
972  this->value = (int32)message.stctInput.value;
973  // Bouml preserved body end 0006A071
974 }
975 
977  // Bouml preserved body begin 0006B1F1
978  this->name = "IClippingParameterFirstParametersPositionControl";
979  this->lowerLimit = INT_MIN;
980  this->upperLimit = INT_MAX;
982  // Bouml preserved body end 0006B1F1
983 }
984 
986  // Bouml preserved body begin 0006B271
987  // Bouml preserved body end 0006B271
988 }
989 
991  // Bouml preserved body begin 0006B2F1
992  parameter = this->value;
993  // Bouml preserved body end 0006B2F1
994 }
995 
997  // Bouml preserved body begin 0006B371
998  if (this->lowerLimit > parameter) {
999  throw std::out_of_range("The parameter exceeds the lower limit");
1000  }
1001  if (this->upperLimit < parameter) {
1002  throw std::out_of_range("The parameter exceeds the upper limit");
1003  }
1004 
1005  this->value = parameter;
1006  // Bouml preserved body end 0006B371
1007 }
1008 
1010  // Bouml preserved body begin 0009D071
1011  std::stringstream ss;
1012  ss << this->name << ": " << this->value;
1013  value = ss.str();
1014  // Bouml preserved body end 0009D071
1015 }
1016 
1018  // Bouml preserved body begin 0006B3F1
1019 
1020  message.stctOutput.commandNumber = msgType;
1021  message.stctOutput.moduleAddress = DRIVE;
1022  message.stctOutput.typeNumber = 135; //IClippingParameterFirstParametersPositionControl
1023  message.stctOutput.value = value;
1024 
1025  // Bouml preserved body end 0006B3F1
1026 }
1027 
1029  // Bouml preserved body begin 0006B471
1030  this->value = (int32)message.stctInput.value;
1031  // Bouml preserved body end 0006B471
1032 }
1033 
1035  // Bouml preserved body begin 0006B5F1
1036  this->name = "PParameterFirstParametersSpeedControl";
1037  this->lowerLimit = INT_MIN;
1038  this->upperLimit = INT_MAX;
1040  // Bouml preserved body end 0006B5F1
1041 }
1042 
1044  // Bouml preserved body begin 0006B671
1045  // Bouml preserved body end 0006B671
1046 }
1047 
1049  // Bouml preserved body begin 0006B6F1
1050  parameter = this->value;
1051  // Bouml preserved body end 0006B6F1
1052 }
1053 
1055  // Bouml preserved body begin 0006B771
1056  if (this->lowerLimit > parameter) {
1057  throw std::out_of_range("The parameter exceeds the lower limit");
1058  }
1059  if (this->upperLimit < parameter) {
1060  throw std::out_of_range("The parameter exceeds the upper limit");
1061  }
1062 
1063  this->value = parameter;
1064  // Bouml preserved body end 0006B771
1065 }
1066 
1068  // Bouml preserved body begin 0009D271
1069  std::stringstream ss;
1070  ss << this->name << ": " << this->value;
1071  value = ss.str();
1072  // Bouml preserved body end 0009D271
1073 }
1074 
1076  // Bouml preserved body begin 0006B7F1
1077 
1078  message.stctOutput.commandNumber = msgType;
1079  message.stctOutput.moduleAddress = DRIVE;
1080  message.stctOutput.typeNumber = 140; //PParameterFirstParametersSpeedControl
1081  message.stctOutput.value = value;
1082 
1083  // Bouml preserved body end 0006B7F1
1084 }
1085 
1087  // Bouml preserved body begin 0006B871
1088  this->value = (int32)message.stctInput.value;
1089  // Bouml preserved body end 0006B871
1090 }
1091 
1093  // Bouml preserved body begin 0006B9F1
1094  this->name = "IParameterFirstParametersSpeedControl";
1095  this->lowerLimit = INT_MIN;
1096  this->upperLimit = INT_MAX;
1098  // Bouml preserved body end 0006B9F1
1099 }
1100 
1102  // Bouml preserved body begin 0006BA71
1103  // Bouml preserved body end 0006BA71
1104 }
1105 
1107  // Bouml preserved body begin 0006BAF1
1108  parameter = this->value;
1109  // Bouml preserved body end 0006BAF1
1110 }
1111 
1113  // Bouml preserved body begin 0006BB71
1114  if (this->lowerLimit > parameter) {
1115  throw std::out_of_range("The parameter exceeds the lower limit");
1116  }
1117  if (this->upperLimit < parameter) {
1118  throw std::out_of_range("The parameter exceeds the upper limit");
1119  }
1120 
1121  this->value = parameter;
1122  // Bouml preserved body end 0006BB71
1123 }
1124 
1126  // Bouml preserved body begin 0009D2F1
1127  std::stringstream ss;
1128  ss << this->name << ": " << this->value;
1129  value = ss.str();
1130  // Bouml preserved body end 0009D2F1
1131 }
1132 
1134  // Bouml preserved body begin 0006BBF1
1135 
1136  message.stctOutput.commandNumber = msgType;
1137  message.stctOutput.moduleAddress = DRIVE;
1138  message.stctOutput.typeNumber = 141; //IParameterFirstParametersSpeedControl
1139  message.stctOutput.value = value;
1140 
1141  // Bouml preserved body end 0006BBF1
1142 }
1143 
1145  // Bouml preserved body begin 0006BC71
1146  this->value = (int32)message.stctInput.value;
1147  // Bouml preserved body end 0006BC71
1148 }
1149 
1151  // Bouml preserved body begin 0006BDF1
1152  this->name = "DParameterFirstParametersSpeedControl";
1153  this->lowerLimit = INT_MIN;
1154  this->upperLimit = INT_MAX;
1156  // Bouml preserved body end 0006BDF1
1157 }
1158 
1160  // Bouml preserved body begin 0006BE71
1161  // Bouml preserved body end 0006BE71
1162 }
1163 
1165  // Bouml preserved body begin 0006BEF1
1166  parameter = this->value;
1167  // Bouml preserved body end 0006BEF1
1168 }
1169 
1171  // Bouml preserved body begin 0006BF71
1172  if (this->lowerLimit > parameter) {
1173  throw std::out_of_range("The parameter exceeds the lower limit");
1174  }
1175  if (this->upperLimit < parameter) {
1176  throw std::out_of_range("The parameter exceeds the upper limit");
1177  }
1178 
1179  this->value = parameter;
1180  // Bouml preserved body end 0006BF71
1181 }
1182 
1184  // Bouml preserved body begin 0009D371
1185  std::stringstream ss;
1186  ss << this->name << ": " << this->value;
1187  value = ss.str();
1188  // Bouml preserved body end 0009D371
1189 }
1190 
1192  // Bouml preserved body begin 0006BFF1
1193 
1194  message.stctOutput.commandNumber = msgType;
1195  message.stctOutput.moduleAddress = DRIVE;
1196  message.stctOutput.typeNumber = 142; //DParameterFirstParametersSpeedControl
1197  message.stctOutput.value = value;
1198 
1199  // Bouml preserved body end 0006BFF1
1200 }
1201 
1203  // Bouml preserved body begin 0006C071
1204  this->value = (int32)message.stctInput.value;
1205  // Bouml preserved body end 0006C071
1206 }
1207 
1209  // Bouml preserved body begin 0006C1F1
1210  this->name = "IClippingParameterFirstParametersSpeedControl";
1211  this->lowerLimit = INT_MIN;
1212  this->upperLimit = INT_MAX;
1214  // Bouml preserved body end 0006C1F1
1215 }
1216 
1218  // Bouml preserved body begin 0006C271
1219  // Bouml preserved body end 0006C271
1220 }
1221 
1223  // Bouml preserved body begin 0006C2F1
1224  parameter = this->value;
1225  // Bouml preserved body end 0006C2F1
1226 }
1227 
1229  // Bouml preserved body begin 0006C371
1230  if (this->lowerLimit > parameter) {
1231  throw std::out_of_range("The parameter exceeds the lower limit");
1232  }
1233  if (this->upperLimit < parameter) {
1234  throw std::out_of_range("The parameter exceeds the upper limit");
1235  }
1236 
1237  this->value = parameter;
1238  // Bouml preserved body end 0006C371
1239 }
1240 
1242  // Bouml preserved body begin 0009D3F1
1243  std::stringstream ss;
1244  ss << this->name << ": " << this->value;
1245  value = ss.str();
1246  // Bouml preserved body end 0009D3F1
1247 }
1248 
1250  // Bouml preserved body begin 0006C3F1
1251 
1252  message.stctOutput.commandNumber = msgType;
1253  message.stctOutput.moduleAddress = DRIVE;
1254  message.stctOutput.typeNumber = 143; //IClippingParameterFirstParametersSpeedControl
1255  message.stctOutput.value = value;
1256 
1257  // Bouml preserved body end 0006C3F1
1258 }
1259 
1261  // Bouml preserved body begin 0006C471
1262  this->value = (int32)message.stctInput.value;
1263  // Bouml preserved body end 0006C471
1264 }
1265 
1267  // Bouml preserved body begin 0006CDF1
1268  this->name = "PParameterSecondParametersPositionControl";
1269  this->lowerLimit = INT_MIN;
1270  this->upperLimit = INT_MAX;
1272  // Bouml preserved body end 0006CDF1
1273 }
1274 
1276  // Bouml preserved body begin 0006CE71
1277  // Bouml preserved body end 0006CE71
1278 }
1279 
1281  // Bouml preserved body begin 0006CEF1
1282  parameter = this->value;
1283  // Bouml preserved body end 0006CEF1
1284 }
1285 
1287  // Bouml preserved body begin 0006CF71
1288  if (this->lowerLimit > parameter) {
1289  throw std::out_of_range("The parameter exceeds the lower limit");
1290  }
1291  if (this->upperLimit < parameter) {
1292  throw std::out_of_range("The parameter exceeds the upper limit");
1293  }
1294 
1295  this->value = parameter;
1296  // Bouml preserved body end 0006CF71
1297 }
1298 
1300  // Bouml preserved body begin 0009DD71
1301  std::stringstream ss;
1302  ss << this->name << ": " << this->value;
1303  value = ss.str();
1304  // Bouml preserved body end 0009DD71
1305 }
1306 
1308  // Bouml preserved body begin 0006CFF1
1309 
1310  message.stctOutput.commandNumber = msgType;
1311  message.stctOutput.moduleAddress = DRIVE;
1312  message.stctOutput.typeNumber = 230; //PParameterSecondParametersPositionControl
1313  message.stctOutput.value = value;
1314 
1315  // Bouml preserved body end 0006CFF1
1316 }
1317 
1319  // Bouml preserved body begin 0006D071
1320  this->value = (int32)message.stctInput.value;
1321  // Bouml preserved body end 0006D071
1322 }
1323 
1325  // Bouml preserved body begin 0006D1F1
1326  this->name = "IParameterSecondParametersPositionControl";
1327  this->lowerLimit = INT_MIN;
1328  this->upperLimit = INT_MAX;
1330  // Bouml preserved body end 0006D1F1
1331 }
1332 
1334  // Bouml preserved body begin 0006D271
1335  // Bouml preserved body end 0006D271
1336 }
1337 
1339  // Bouml preserved body begin 0006D2F1
1340  parameter = this->value;
1341  // Bouml preserved body end 0006D2F1
1342 }
1343 
1345  // Bouml preserved body begin 0006D371
1346  if (this->lowerLimit > parameter) {
1347  throw std::out_of_range("The parameter exceeds the lower limit");
1348  }
1349  if (this->upperLimit < parameter) {
1350  throw std::out_of_range("The parameter exceeds the upper limit");
1351  }
1352 
1353  this->value = parameter;
1354  // Bouml preserved body end 0006D371
1355 }
1356 
1358  // Bouml preserved body begin 0009DDF1
1359  std::stringstream ss;
1360  ss << this->name << ": " << this->value;
1361  value = ss.str();
1362  // Bouml preserved body end 0009DDF1
1363 }
1364 
1366  // Bouml preserved body begin 0006D3F1
1367 
1368  message.stctOutput.commandNumber = msgType;
1369  message.stctOutput.moduleAddress = DRIVE;
1370  message.stctOutput.typeNumber = 231; //IParameterSecondParametersPositionControl
1371  message.stctOutput.value = value;
1372 
1373  // Bouml preserved body end 0006D3F1
1374 }
1375 
1377  // Bouml preserved body begin 0006D471
1378  this->value = (int32)message.stctInput.value;
1379  // Bouml preserved body end 0006D471
1380 }
1381 
1383  // Bouml preserved body begin 0006D5F1
1384  this->name = "DParameterSecondParametersPositionControl";
1385  this->lowerLimit = INT_MIN;
1386  this->upperLimit = INT_MAX;
1388  // Bouml preserved body end 0006D5F1
1389 }
1390 
1392  // Bouml preserved body begin 0006D671
1393  // Bouml preserved body end 0006D671
1394 }
1395 
1397  // Bouml preserved body begin 0006D6F1
1398  parameter = this->value;
1399  // Bouml preserved body end 0006D6F1
1400 }
1401 
1403  // Bouml preserved body begin 0006D771
1404  if (this->lowerLimit > parameter) {
1405  throw std::out_of_range("The parameter exceeds the lower limit");
1406  }
1407  if (this->upperLimit < parameter) {
1408  throw std::out_of_range("The parameter exceeds the upper limit");
1409  }
1410 
1411  this->value = parameter;
1412  // Bouml preserved body end 0006D771
1413 }
1414 
1416  // Bouml preserved body begin 0009DE71
1417  std::stringstream ss;
1418  ss << this->name << ": " << this->value;
1419  value = ss.str();
1420  // Bouml preserved body end 0009DE71
1421 }
1422 
1424  // Bouml preserved body begin 0006D7F1
1425 
1426  message.stctOutput.commandNumber = msgType;
1427  message.stctOutput.moduleAddress = DRIVE;
1428  message.stctOutput.typeNumber = 232; //DParameterSecondParametersPositionControl
1429  message.stctOutput.value = value;
1430 
1431  // Bouml preserved body end 0006D7F1
1432 }
1433 
1435  // Bouml preserved body begin 0006D871
1436  this->value = (int32)message.stctInput.value;
1437  // Bouml preserved body end 0006D871
1438 }
1439 
1441  // Bouml preserved body begin 0006D9F1
1442  this->name = "IClippingParameterSecondParametersPositionControl";
1443  this->lowerLimit = INT_MIN;
1444  this->upperLimit = INT_MAX;
1446  // Bouml preserved body end 0006D9F1
1447 }
1448 
1450  // Bouml preserved body begin 0006DA71
1451  // Bouml preserved body end 0006DA71
1452 }
1453 
1455  // Bouml preserved body begin 0006DAF1
1456  parameter = this->value;
1457  // Bouml preserved body end 0006DAF1
1458 }
1459 
1461  // Bouml preserved body begin 0006DB71
1462  if (this->lowerLimit > parameter) {
1463  throw std::out_of_range("The parameter exceeds the lower limit");
1464  }
1465  if (this->upperLimit < parameter) {
1466  throw std::out_of_range("The parameter exceeds the upper limit");
1467  }
1468 
1469  this->value = parameter;
1470  // Bouml preserved body end 0006DB71
1471 }
1472 
1474  // Bouml preserved body begin 0009DEF1
1475  std::stringstream ss;
1476  ss << this->name << ": " << this->value;
1477  value = ss.str();
1478  // Bouml preserved body end 0009DEF1
1479 }
1480 
1482  // Bouml preserved body begin 0006DBF1
1483 
1484  message.stctOutput.commandNumber = msgType;
1485  message.stctOutput.moduleAddress = DRIVE;
1486  message.stctOutput.typeNumber = 233; //IClippingParameterSecondParametersPositionControl
1487  message.stctOutput.value = value;
1488 
1489  // Bouml preserved body end 0006DBF1
1490 }
1491 
1493  // Bouml preserved body begin 0006DC71
1494  this->value = (int32)message.stctInput.value;
1495  // Bouml preserved body end 0006DC71
1496 }
1497 
1499  // Bouml preserved body begin 0006DDF1
1500  this->name = "PParameterSecondParametersSpeedControl";
1501  this->lowerLimit = INT_MIN;
1502  this->upperLimit = INT_MAX;
1504  // Bouml preserved body end 0006DDF1
1505 }
1506 
1508  // Bouml preserved body begin 0006DE71
1509  // Bouml preserved body end 0006DE71
1510 }
1511 
1513  // Bouml preserved body begin 0006DEF1
1514  parameter = this->value;
1515  // Bouml preserved body end 0006DEF1
1516 }
1517 
1519  // Bouml preserved body begin 0006DF71
1520  if (this->lowerLimit > parameter) {
1521  throw std::out_of_range("The parameter exceeds the lower limit");
1522  }
1523  if (this->upperLimit < parameter) {
1524  throw std::out_of_range("The parameter exceeds the upper limit");
1525  }
1526 
1527  this->value = parameter;
1528  // Bouml preserved body end 0006DF71
1529 }
1530 
1532  // Bouml preserved body begin 0009DF71
1533  std::stringstream ss;
1534  ss << this->name << ": " << this->value;
1535  value = ss.str();
1536  // Bouml preserved body end 0009DF71
1537 }
1538 
1540  // Bouml preserved body begin 0006DFF1
1541 
1542  message.stctOutput.commandNumber = msgType;
1543  message.stctOutput.moduleAddress = DRIVE;
1544  message.stctOutput.typeNumber = 234; //PParameterSecondParametersSpeedControl
1545  message.stctOutput.value = value;
1546 
1547  // Bouml preserved body end 0006DFF1
1548 }
1549 
1551  // Bouml preserved body begin 0006E071
1552  this->value = (int32)message.stctInput.value;
1553  // Bouml preserved body end 0006E071
1554 }
1555 
1557  // Bouml preserved body begin 0006E1F1
1558  this->name = "IParameterSecondParametersSpeedControl";
1559  this->lowerLimit = INT_MIN;
1560  this->upperLimit = INT_MAX;
1562  // Bouml preserved body end 0006E1F1
1563 }
1564 
1566  // Bouml preserved body begin 0006E271
1567  // Bouml preserved body end 0006E271
1568 }
1569 
1571  // Bouml preserved body begin 0006E2F1
1572  parameter = this->value;
1573  // Bouml preserved body end 0006E2F1
1574 }
1575 
1577  // Bouml preserved body begin 0006E371
1578  if (this->lowerLimit > parameter) {
1579  throw std::out_of_range("The parameter exceeds the lower limit");
1580  }
1581  if (this->upperLimit < parameter) {
1582  throw std::out_of_range("The parameter exceeds the upper limit");
1583  }
1584 
1585  this->value = parameter;
1586  // Bouml preserved body end 0006E371
1587 }
1588 
1590  // Bouml preserved body begin 0009DFF1
1591  std::stringstream ss;
1592  ss << this->name << ": " << this->value;
1593  value = ss.str();
1594  // Bouml preserved body end 0009DFF1
1595 }
1596 
1598  // Bouml preserved body begin 0006E3F1
1599 
1600  message.stctOutput.commandNumber = msgType;
1601  message.stctOutput.moduleAddress = DRIVE;
1602  message.stctOutput.typeNumber = 235; //IParameterSecondParametersSpeedControl
1603  message.stctOutput.value = value;
1604 
1605  // Bouml preserved body end 0006E3F1
1606 }
1607 
1609  // Bouml preserved body begin 0006E471
1610  this->value = (int32)message.stctInput.value;
1611  // Bouml preserved body end 0006E471
1612 }
1613 
1615  // Bouml preserved body begin 0006E5F1
1616  this->name = "DParameterSecondParametersSpeedControl";
1617  this->lowerLimit = INT_MIN;
1618  this->upperLimit = INT_MAX;
1620  // Bouml preserved body end 0006E5F1
1621 }
1622 
1624  // Bouml preserved body begin 0006E671
1625  // Bouml preserved body end 0006E671
1626 }
1627 
1629  // Bouml preserved body begin 0006E6F1
1630  parameter = this->value;
1631  // Bouml preserved body end 0006E6F1
1632 }
1633 
1635  // Bouml preserved body begin 0006E771
1636  if (this->lowerLimit > parameter) {
1637  throw std::out_of_range("The parameter exceeds the lower limit");
1638  }
1639  if (this->upperLimit < parameter) {
1640  throw std::out_of_range("The parameter exceeds the upper limit");
1641  }
1642 
1643  this->value = parameter;
1644  // Bouml preserved body end 0006E771
1645 }
1646 
1648  // Bouml preserved body begin 0009E071
1649  std::stringstream ss;
1650  ss << this->name << ": " << this->value;
1651  value = ss.str();
1652  // Bouml preserved body end 0009E071
1653 }
1654 
1656  // Bouml preserved body begin 0006E7F1
1657 
1658  message.stctOutput.commandNumber = msgType;
1659  message.stctOutput.moduleAddress = DRIVE;
1660  message.stctOutput.typeNumber = 236; //DParameterSecondParametersSpeedControl
1661  message.stctOutput.value = value;
1662 
1663  // Bouml preserved body end 0006E7F1
1664 }
1665 
1667  // Bouml preserved body begin 0006E871
1668  this->value = (int32)message.stctInput.value;
1669  // Bouml preserved body end 0006E871
1670 }
1671 
1673  // Bouml preserved body begin 0006E9F1
1674  this->name = "IClippingParameterSecondParametersSpeedControl";
1675  this->lowerLimit = INT_MIN;
1676  this->upperLimit = INT_MAX;
1678  // Bouml preserved body end 0006E9F1
1679 }
1680 
1682  // Bouml preserved body begin 0006EA71
1683  // Bouml preserved body end 0006EA71
1684 }
1685 
1687  // Bouml preserved body begin 0006EAF1
1688  parameter = this->value;
1689  // Bouml preserved body end 0006EAF1
1690 }
1691 
1693  // Bouml preserved body begin 0006EB71
1694  if (this->lowerLimit > parameter) {
1695  throw std::out_of_range("The parameter exceeds the lower limit");
1696  }
1697  if (this->upperLimit < parameter) {
1698  throw std::out_of_range("The parameter exceeds the upper limit");
1699  }
1700 
1701  this->value = parameter;
1702  // Bouml preserved body end 0006EB71
1703 }
1704 
1706  // Bouml preserved body begin 0009E0F1
1707  std::stringstream ss;
1708  ss << this->name << ": " << this->value;
1709  value = ss.str();
1710  // Bouml preserved body end 0009E0F1
1711 }
1712 
1714  // Bouml preserved body begin 0006EBF1
1715 
1716  message.stctOutput.commandNumber = msgType;
1717  message.stctOutput.moduleAddress = DRIVE;
1718  message.stctOutput.typeNumber = 237; //IClippingParameterSecondParametersSpeedControl
1719  message.stctOutput.value = value;
1720 
1721  // Bouml preserved body end 0006EBF1
1722 }
1723 
1725  // Bouml preserved body begin 0006EC71
1726  this->value = (int32)message.stctInput.value;
1727  // Bouml preserved body end 0006EC71
1728 }
1729 
1731  // Bouml preserved body begin 00080371
1732  this->name = "PParameterCurrentControl";
1733  this->lowerLimit = INT_MIN;
1734  this->upperLimit = INT_MAX;
1736  // Bouml preserved body end 00080371
1737 }
1738 
1740  // Bouml preserved body begin 000803F1
1741  // Bouml preserved body end 000803F1
1742 }
1743 
1744 void PParameterCurrentControl::getParameter(int& parameter) const {
1745  // Bouml preserved body begin 00080471
1746  parameter = this->value;
1747  // Bouml preserved body end 00080471
1748 }
1749 
1750 void PParameterCurrentControl::setParameter(const int parameter) {
1751  // Bouml preserved body begin 000804F1
1752  if (this->lowerLimit > parameter) {
1753  throw std::out_of_range("The parameter exceeds the lower limit");
1754  }
1755  if (this->upperLimit < parameter) {
1756  throw std::out_of_range("The parameter exceeds the upper limit");
1757  }
1758 
1759  this->value = parameter;
1760  // Bouml preserved body end 000804F1
1761 }
1762 
1763 void PParameterCurrentControl::toString(std::string& value) {
1764  // Bouml preserved body begin 0009DA71
1765  std::stringstream ss;
1766  ss << this->name << ": " << this->value;
1767  value = ss.str();
1768  // Bouml preserved body end 0009DA71
1769 }
1770 
1772  // Bouml preserved body begin 00080571
1773 
1774  message.stctOutput.commandNumber = msgType;
1775  message.stctOutput.moduleAddress = DRIVE;
1776  message.stctOutput.typeNumber = 172; //PParameterCurrentControl
1777  message.stctOutput.value = value;
1778 
1779  // Bouml preserved body end 00080571
1780 }
1781 
1783  // Bouml preserved body begin 000805F1
1784  this->value = (int32)message.stctInput.value;
1785  // Bouml preserved body end 000805F1
1786 }
1787 
1789  // Bouml preserved body begin 00080771
1790  this->name = "IParameterCurrentControl";
1791  this->lowerLimit = INT_MIN;
1792  this->upperLimit = INT_MAX;
1794  // Bouml preserved body end 00080771
1795 }
1796 
1798  // Bouml preserved body begin 000807F1
1799  // Bouml preserved body end 000807F1
1800 }
1801 
1802 void IParameterCurrentControl::getParameter(int& parameter) const {
1803  // Bouml preserved body begin 00080871
1804  parameter = this->value;
1805  // Bouml preserved body end 00080871
1806 }
1807 
1808 void IParameterCurrentControl::setParameter(const int parameter) {
1809  // Bouml preserved body begin 000808F1
1810  if (this->lowerLimit > parameter) {
1811  throw std::out_of_range("The parameter exceeds the lower limit");
1812  }
1813  if (this->upperLimit < parameter) {
1814  throw std::out_of_range("The parameter exceeds the upper limit");
1815  }
1816 
1817  this->value = parameter;
1818  // Bouml preserved body end 000808F1
1819 }
1820 
1821 void IParameterCurrentControl::toString(std::string& value) {
1822  // Bouml preserved body begin 0009DAF1
1823  std::stringstream ss;
1824  ss << this->name << ": " << this->value;
1825  value = ss.str();
1826  // Bouml preserved body end 0009DAF1
1827 }
1828 
1830  // Bouml preserved body begin 00080971
1831 
1832  message.stctOutput.commandNumber = msgType;
1833  message.stctOutput.moduleAddress = DRIVE;
1834  message.stctOutput.typeNumber = 173; //IParameterCurrentControl
1835  message.stctOutput.value = value;
1836 
1837  // Bouml preserved body end 00080971
1838 }
1839 
1841  // Bouml preserved body begin 000809F1
1842  this->value = (int32)message.stctInput.value;
1843  // Bouml preserved body end 000809F1
1844 }
1845 
1847  // Bouml preserved body begin 00080B71
1848  this->name = "DParameterCurrentControl";
1849  this->lowerLimit = INT_MIN;
1850  this->upperLimit = INT_MAX;
1852  // Bouml preserved body end 00080B71
1853 }
1854 
1856  // Bouml preserved body begin 00080BF1
1857  // Bouml preserved body end 00080BF1
1858 }
1859 
1860 void DParameterCurrentControl::getParameter(int& parameter) const {
1861  // Bouml preserved body begin 00080C71
1862  parameter = this->value;
1863  // Bouml preserved body end 00080C71
1864 }
1865 
1866 void DParameterCurrentControl::setParameter(const int parameter) {
1867  // Bouml preserved body begin 00080CF1
1868  if (this->lowerLimit > parameter) {
1869  throw std::out_of_range("The parameter exceeds the lower limit");
1870  }
1871  if (this->upperLimit < parameter) {
1872  throw std::out_of_range("The parameter exceeds the upper limit");
1873  }
1874 
1875  this->value = parameter;
1876  // Bouml preserved body end 00080CF1
1877 }
1878 
1879 void DParameterCurrentControl::toString(std::string& value) {
1880  // Bouml preserved body begin 0009DB71
1881  std::stringstream ss;
1882  ss << this->name << ": " << this->value;
1883  value = ss.str();
1884  // Bouml preserved body end 0009DB71
1885 }
1886 
1888  // Bouml preserved body begin 00080D71
1889 
1890  message.stctOutput.commandNumber = msgType;
1891  message.stctOutput.moduleAddress = DRIVE;
1892  message.stctOutput.typeNumber = 174; //DParameterCurrentControl
1893  message.stctOutput.value = value;
1894 
1895  // Bouml preserved body end 00080D71
1896 }
1897 
1899  // Bouml preserved body begin 00080DF1
1900  this->value = (int32)message.stctInput.value;
1901  // Bouml preserved body end 00080DF1
1902 }
1903 
1905  // Bouml preserved body begin 00080F71
1906  this->name = "IClippingParameterCurrentControl";
1907  this->lowerLimit = INT_MIN;
1908  this->upperLimit = INT_MAX;
1910  // Bouml preserved body end 00080F71
1911 }
1912 
1914  // Bouml preserved body begin 00080FF1
1915  // Bouml preserved body end 00080FF1
1916 }
1917 
1919  // Bouml preserved body begin 00081071
1920  parameter = this->value;
1921  // Bouml preserved body end 00081071
1922 }
1923 
1925  // Bouml preserved body begin 000810F1
1926  if (this->lowerLimit > parameter) {
1927  throw std::out_of_range("The parameter exceeds the lower limit");
1928  }
1929  if (this->upperLimit < parameter) {
1930  throw std::out_of_range("The parameter exceeds the upper limit");
1931  }
1932 
1933  this->value = parameter;
1934  // Bouml preserved body end 000810F1
1935 }
1936 
1938  // Bouml preserved body begin 0009DBF1
1939  std::stringstream ss;
1940  ss << this->name << ": " << this->value;
1941  value = ss.str();
1942  // Bouml preserved body end 0009DBF1
1943 }
1944 
1946  // Bouml preserved body begin 00081171
1947 
1948  message.stctOutput.commandNumber = msgType;
1949  message.stctOutput.moduleAddress = DRIVE;
1950  message.stctOutput.typeNumber = 175; //IClippingParameterCurrentControl
1951  message.stctOutput.value = value;
1952 
1953  // Bouml preserved body end 00081171
1954 }
1955 
1957  // Bouml preserved body begin 000811F1
1958  this->value = (int32)message.stctInput.value;
1959  // Bouml preserved body end 000811F1
1960 }
1961 
1963  // Bouml preserved body begin 00078F71
1964  this->name = "MaximumVelocityToSetPosition";
1965  this->lowerLimit = INT_MIN * radian_per_second;
1966  this->upperLimit = INT_MAX * radian_per_second;
1968  // Bouml preserved body end 00078F71
1969 }
1970 
1972  // Bouml preserved body begin 00078FF1
1973  // Bouml preserved body end 00078FF1
1974 }
1975 
1976 void MaximumVelocityToSetPosition::getParameter(quantity<angular_velocity>& parameter) const {
1977  // Bouml preserved body begin 00079071
1978  parameter = this->value;
1979  // Bouml preserved body end 00079071
1980 }
1981 
1982 void MaximumVelocityToSetPosition::setParameter(const quantity<angular_velocity>& parameter) {
1983  // Bouml preserved body begin 000790F1
1984  if (this->lowerLimit > parameter) {
1985  throw std::out_of_range("The parameter exceeds the lower limit");
1986  }
1987  if (this->upperLimit < parameter) {
1988  throw std::out_of_range("The parameter exceeds the upper limit");
1989  }
1990 
1991  this->value = parameter;
1992  // Bouml preserved body end 000790F1
1993 }
1994 
1995 void MaximumVelocityToSetPosition::toString(std::string& value) {
1996  // Bouml preserved body begin 0009CAF1
1997  std::stringstream ss;
1998  ss << this->name << ": " << this->value.value();
1999  value = ss.str();
2000  // Bouml preserved body end 0009CAF1
2001 }
2002 
2004  // Bouml preserved body begin 00079171
2005 
2006  message.stctOutput.commandNumber = msgType;
2007  message.stctOutput.moduleAddress = DRIVE;
2008  message.stctOutput.typeNumber = 7; //MaximumVelocityToSetPosition
2009  message.stctOutput.value = (int32) boost::math::round((value.value() / (storage.gearRatio * 2.0 * M_PI)) * 60.0);
2010 
2011  // Bouml preserved body end 00079171
2012 }
2013 
2015  // Bouml preserved body begin 000791F1
2016  double motorRPM = (int32)message.stctInput.value;
2017  this->value = ((motorRPM / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second;
2018  // Bouml preserved body end 000791F1
2019 }
2020 
2022  // Bouml preserved body begin 00079B71
2023  this->name = "PositionTargetReachedDistance";
2024  this->lowerLimit = INT_MIN;
2025  this->upperLimit = INT_MAX;
2027  // Bouml preserved body end 00079B71
2028 }
2029 
2031  // Bouml preserved body begin 00079BF1
2032  // Bouml preserved body end 00079BF1
2033 }
2034 
2036  // Bouml preserved body begin 00079C71
2037  parameter = this->value;
2038  // Bouml preserved body end 00079C71
2039 }
2040 
2042  // Bouml preserved body begin 00079CF1
2043  if (this->lowerLimit > parameter) {
2044  throw std::out_of_range("The parameter exceeds the lower limit");
2045  }
2046  if (this->upperLimit < parameter) {
2047  throw std::out_of_range("The parameter exceeds the upper limit");
2048  }
2049 
2050  this->value = parameter;
2051  // Bouml preserved body end 00079CF1
2052 }
2053 
2055  // Bouml preserved body begin 0009CC71
2056  std::stringstream ss;
2057  ss << this->name << ": " << this->value;
2058  value = ss.str();
2059  // Bouml preserved body end 0009CC71
2060 }
2061 
2063  // Bouml preserved body begin 00079D71
2064 
2065  message.stctOutput.commandNumber = msgType;
2066  message.stctOutput.moduleAddress = DRIVE;
2067  message.stctOutput.typeNumber = 10; //PositionTargetReachedDistance
2068  message.stctOutput.value = value;
2069 
2070  // Bouml preserved body end 00079D71
2071 }
2072 
2074  // Bouml preserved body begin 00079DF1
2075  this->value = (int32)message.stctInput.value;
2076  // Bouml preserved body end 00079DF1
2077 }
2078 
2080  // Bouml preserved body begin 000A15F1
2081  this->name = "ClearI2tExceededFlag";
2083  this->value = true;
2084  // Bouml preserved body end 000A15F1
2085 }
2086 
2088  // Bouml preserved body begin 000A1671
2089  // Bouml preserved body end 000A1671
2090 }
2091 
2093  // Bouml preserved body begin 000A16F1
2094  // Bouml preserved body end 000A16F1
2095 }
2096 
2098  // Bouml preserved body begin 000A1771
2099  // Bouml preserved body end 000A1771
2100 }
2101 
2102 void ClearI2tExceededFlag::toString(std::string& value) {
2103  // Bouml preserved body begin 000A17F1
2104  std::stringstream ss;
2105  ss << this->name << ": " << this->value;
2106  value = ss.str();
2107  // Bouml preserved body end 000A17F1
2108 }
2109 
2111  // Bouml preserved body begin 000A1871
2112  message.stctOutput.commandNumber = msgType;
2113  message.stctOutput.moduleAddress = DRIVE;
2114  message.stctOutput.typeNumber = 29; //ClearI2tExceededFlag
2115  message.stctOutput.value = value;
2116  // Bouml preserved body end 000A1871
2117 }
2118 
2120  // Bouml preserved body begin 000A18F1
2121  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
2122  this->value = message.stctInput.value;
2123  }
2124  // Bouml preserved body end 000A18F1
2125 }
2126 
2128  // Bouml preserved body begin 0009FAF1
2129  this->name = "ClearMotorControllerTimeoutFlag";
2131  this->value = true;
2132  // Bouml preserved body end 0009FAF1
2133 }
2134 
2136  // Bouml preserved body begin 0009FB71
2137  // Bouml preserved body end 0009FB71
2138 }
2139 
2141  // Bouml preserved body begin 0009FBF1
2142  return this->value;
2143  // Bouml preserved body end 0009FBF1
2144 }
2145 
2147  // Bouml preserved body begin 0009FC71
2148  // Bouml preserved body end 0009FC71
2149 }
2150 
2152  // Bouml preserved body begin 0009FCF1
2153  std::stringstream ss;
2154  ss << this->name << ": " << this->value;
2155  value = ss.str();
2156  // Bouml preserved body end 0009FCF1
2157 }
2158 
2160  // Bouml preserved body begin 0009FD71
2161  message.stctOutput.commandNumber = msgType;
2162  message.stctOutput.moduleAddress = DRIVE;
2163  message.stctOutput.typeNumber = 158; //ClearMotorControllerTimeoutFlag
2164  message.stctOutput.value = value;
2165  // Bouml preserved body end 0009FD71
2166 }
2167 
2169  // Bouml preserved body begin 0009FDF1
2170  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
2171  this->value = message.stctInput.value;
2172  }
2173  // Bouml preserved body end 0009FDF1
2174 }
2175 
2177  // Bouml preserved body begin 000ED771
2178  this->name = "PParameterTrajectoryControl";
2179  this->lowerLimit = 0;
2180  this->upperLimit = INT_MAX;
2181  this->parameterType = API_PARAMETER;
2182  // Bouml preserved body end 000ED771
2183 }
2184 
2186  // Bouml preserved body begin 000ED7F1
2187  // Bouml preserved body end 000ED7F1
2188 }
2189 
2190 void PParameterTrajectoryControl::getParameter(double& parameter) const {
2191  // Bouml preserved body begin 000ED871
2192  parameter = this->value;
2193  // Bouml preserved body end 000ED871
2194 }
2195 
2196 void PParameterTrajectoryControl::setParameter(const double parameter) {
2197  // Bouml preserved body begin 000ED8F1
2198  if (this->lowerLimit > parameter) {
2199  throw std::out_of_range("The parameter exceeds the lower limit");
2200  }
2201  if (this->upperLimit < parameter) {
2202  throw std::out_of_range("The parameter exceeds the upper limit");
2203  }
2204 
2205  this->value = parameter;
2206  // Bouml preserved body end 000ED8F1
2207 }
2208 
2209 void PParameterTrajectoryControl::toString(std::string& value) {
2210  // Bouml preserved body begin 000ED971
2211  std::stringstream ss;
2212  ss << this->name << ": " << this->value;
2213  value = ss.str();
2214  // Bouml preserved body end 000ED971
2215 }
2216 
2218  // Bouml preserved body begin 000EDBF1
2219  this->name = "IParameterTrajectoryControl";
2220  this->lowerLimit = INT_MIN;
2221  this->upperLimit = INT_MAX;
2222  this->parameterType = API_PARAMETER;
2223  // Bouml preserved body end 000EDBF1
2224 }
2225 
2227  // Bouml preserved body begin 000EDC71
2228  // Bouml preserved body end 000EDC71
2229 }
2230 
2231 void IParameterTrajectoryControl::getParameter(double& parameter) const {
2232  // Bouml preserved body begin 000EDCF1
2233  parameter = this->value;
2234  // Bouml preserved body end 000EDCF1
2235 }
2236 
2237 void IParameterTrajectoryControl::setParameter(const double parameter) {
2238  // Bouml preserved body begin 000EDD71
2239  if (this->lowerLimit > parameter) {
2240  throw std::out_of_range("The parameter exceeds the lower limit");
2241  }
2242  if (this->upperLimit < parameter) {
2243  throw std::out_of_range("The parameter exceeds the upper limit");
2244  }
2245 
2246  this->value = parameter;
2247  // Bouml preserved body end 000EDD71
2248 }
2249 
2250 void IParameterTrajectoryControl::toString(std::string& value) {
2251  // Bouml preserved body begin 000EDDF1
2252  std::stringstream ss;
2253  ss << this->name << ": " << this->value;
2254  value = ss.str();
2255  // Bouml preserved body end 000EDDF1
2256 }
2257 
2259  // Bouml preserved body begin 000EE071
2260  this->name = "DParameterTrajectoryControl";
2261  this->lowerLimit = INT_MIN;
2262  this->upperLimit = INT_MAX;
2263  this->parameterType = API_PARAMETER;
2264  // Bouml preserved body end 000EE071
2265 }
2266 
2268  // Bouml preserved body begin 000EE0F1
2269  // Bouml preserved body end 000EE0F1
2270 }
2271 
2272 void DParameterTrajectoryControl::getParameter(double& parameter) const {
2273  // Bouml preserved body begin 000EE171
2274  parameter = this->value;
2275  // Bouml preserved body end 000EE171
2276 }
2277 
2278 void DParameterTrajectoryControl::setParameter(const double parameter) {
2279  // Bouml preserved body begin 000EE1F1
2280  if (this->lowerLimit > parameter) {
2281  throw std::out_of_range("The parameter exceeds the lower limit");
2282  }
2283  if (this->upperLimit < parameter) {
2284  throw std::out_of_range("The parameter exceeds the upper limit");
2285  }
2286 
2287  this->value = parameter;
2288  // Bouml preserved body end 000EE1F1
2289 }
2290 
2291 void DParameterTrajectoryControl::toString(std::string& value) {
2292  // Bouml preserved body begin 000EE271
2293  std::stringstream ss;
2294  ss << this->name << ": " << this->value;
2295  value = ss.str();
2296  // Bouml preserved body end 000EE271
2297 }
2298 
2300  // Bouml preserved body begin 000EE4F1
2301  this->name = "IClippingParameterTrajectoryControl";
2302  this->lowerLimit = INT_MIN;
2303  this->upperLimit = INT_MAX;
2304  this->parameterType = API_PARAMETER;
2305  // Bouml preserved body end 000EE4F1
2306 }
2307 
2309  // Bouml preserved body begin 000EE571
2310  // Bouml preserved body end 000EE571
2311 }
2312 
2314  // Bouml preserved body begin 000EE5F1
2315  parameter = this->value;
2316  // Bouml preserved body end 000EE5F1
2317 }
2318 
2320  // Bouml preserved body begin 000EE671
2321  if (this->lowerLimit > parameter) {
2322  throw std::out_of_range("The parameter exceeds the lower limit");
2323  }
2324  if (this->upperLimit < parameter) {
2325  throw std::out_of_range("The parameter exceeds the upper limit");
2326  }
2327 
2328  this->value = parameter;
2329  // Bouml preserved body end 000EE671
2330 }
2331 
2333  // Bouml preserved body begin 000EE6F1
2334  std::stringstream ss;
2335  ss << this->name << ": " << this->value;
2336  value = ss.str();
2337  // Bouml preserved body end 000EE6F1
2338 }
2339 
2340 
2341 } // namespace youbot
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setParameter(const unsigned int parameter)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getParameter(int &parameter) const
void getParameter(double &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const double parameter)
void setParameter(const quantity< angular_acceleration > &parameter)
void setParameter(const quantity< plane_angle > &lowerLimit, const quantity< plane_angle > &upperLimit, const bool activateLimits)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const double parameter)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void toString(std::string &value)
void setParameter(const double parameter)
void setParameter(const double parameter)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const bool parameter)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(quantity< plane_angle > &lowerLimit, quantity< plane_angle > &upperLimit, bool &areLimitsActive) const
void setParameter(const std::string parameter)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setParameter(const quantity< angular_velocity > &parameter)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(int &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getParameter(std::string &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getParameter(quantity< angular_velocity > &parameter) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(unsigned int &parameter) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(double &parameter) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getParameter(int &lowerLimit, int &upperLimit, bool &areLimitsActive) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const quantity< angular_velocity > &parameter)
void getParameter(quantity< angular_velocity > &parameter) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void toString(std::string &value)
void setParameter(const int parameter)
void toString(std::string &value)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getParameter(double &parameter) const
void getParameter(double &parameter) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(int &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const quantity< angular_velocity > &parameter)
void getParameter(double &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const quantity< angular_velocity > &parameter)
int32_t int32
Definition: osal.h:32
EtherCAT mailbox message of the youBot slaves.
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(quantity< angular_velocity > &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const double parameter)
void setParameter(const int parameter)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void toString(std::string &value)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const quantity< angular_velocity > &parameter)
void getParameter(quantity< angular_velocity > &parameter) const
void setParameter(const bool doCalibration, CalibrationDirection calibrationDirection, const quantity< si::current > &maxCurrent)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setParameter(const int lowerLimit, const int upperLimit, const bool activateLimits)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void toString(std::string &value)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(bool &doCalibration, CalibrationDirection &calibrationDirection, quantity< si::current > &maxCurrent) const
void toString(std::string &value)
void getParameter(int &controllerType, std::string &firmwareVersion) const
void setParameter(const bool parameter)
void toString(std::string &value)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(quantity< angular_velocity > &parameter) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
Stores YouBotJoint informations which are needed in the driver.
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void toString(std::string &value)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void toString(std::string &value)
void getParameter(bool &parameter) const
void setParameter(const int parameter)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getParameter(bool &parameter) const
void toString(std::string &value)
void getParameter(quantity< angular_acceleration > &parameter) const
void setParameter(const int controllerType, const std::string firmwareVersion)
void toString(std::string &value)


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:25