YouBotGripperParameter.hpp
Go to the documentation of this file.
1 #ifndef YOUBOT_YOUBOTGRIPPERPARAMETER_H
2 #define YOUBOT_YOUBOTGRIPPERPARAMETER_H
3 
4 /****************************************************************
5  *
6  * Copyright (c) 2011
7  * All rights reserved.
8  *
9  * Hochschule Bonn-Rhein-Sieg
10  * University of Applied Sciences
11  * Computer Science Department
12  *
13  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
14  *
15  * Author:
16  * Jan Paulus, Nico Hochgeschwender, Michael Reckhaus, Azamat Shakhimardanov
17  * Supervised by:
18  * Gerhard K. Kraetzschmar
19  *
20  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21  *
22  * This sofware is published under a dual-license: GNU Lesser General Public
23  * License LGPL 2.1 and BSD license. The dual-license implies that users of this
24  * code may choose which terms they prefer.
25  *
26  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27  *
28  * Redistribution and use in source and binary forms, with or without
29  * modification, are permitted provided that the following conditions are met:
30  *
31  * * Redistributions of source code must retain the above copyright
32  * notice, this list of conditions and the following disclaimer.
33  * * Redistributions in binary form must reproduce the above copyright
34  * notice, this list of conditions and the following disclaimer in the
35  * documentation and/or other materials provided with the distribution.
36  * * Neither the name of the Hochschule Bonn-Rhein-Sieg nor the names of its
37  * contributors may be used to endorse or promote products derived from
38  * this software without specific prior written permission.
39  *
40  * This program is free software: you can redistribute it and/or modify
41  * it under the terms of the GNU Lesser General Public License LGPL as
42  * published by the Free Software Foundation, either version 2.1 of the
43  * License, or (at your option) any later version or the BSD license.
44  *
45  * This program is distributed in the hope that it will be useful,
46  * but WITHOUT ANY WARRANTY; without even the implied warranty of
47  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48  * GNU Lesser General Public License LGPL and the BSD license for more details.
49  *
50  * You should have received a copy of the GNU Lesser General Public
51  * License LGPL and BSD license along with this program.
52  *
53  ****************************************************************/
54 #include <vector>
55 #include <sstream>
62 namespace youbot {
63 
68 friend class YouBotGripper;
69 friend class YouBotGripperBar;
70  protected:
72 
73 
74  public:
75  virtual ~YouBotGripperParameter();
76 
77  virtual void toString(std::string& value) const = 0;
78 
79 
80  protected:
81  virtual ParameterType getType() const = 0;
82 
83  virtual std::string getName() const = 0;
84 
85  virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const = 0;
86 
87  virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message) = 0;
88 
89  std::string name;
90 
91 
92  private:
94 
95 };
100 friend class YouBotGripper;
101 friend class YouBotGripperBar;
102  public:
104 
105  virtual ~GripperFirmwareVersion();
106 
107  void getParameter(int& controllerType, double& firmwareVersion) const;
108 
109  void setParameter(const int controllerType, const double firmwareVersion);
110 
111  void toString(std::string& value) const;
112 
113 
114  private:
115  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
116 
117  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
118 
119  std::string getName() const {return this->name;};
120 
121  ParameterType getType() const {return this->parameterType;};
122 
123  int controllerType;
124 
126 
127  std::string name;
128 
130 
131 };
136 friend class YouBotGripper;
137 friend class YouBotGripperBar;
138 
139 
140  public:
141  GripperBarName();
142 
143  virtual ~GripperBarName();
144 
145  void getParameter(std::string& parameter) const;
146 
147  void setParameter(const std::string parameter);
148 
149  void toString(std::string& value) const;
150 
151 
152  private:
153  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
154 
155  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
156 
157  std::string getName() const {return this->name;};
158 
159  ParameterType getType() const {return this->parameterType;};
160 
161  std::string value;
162 
163  std::string name;
164 
166 
167 };
172 friend class YouBotGripper;
173 friend class YouBotGripperBar;
174  public:
176 
177  virtual ~CalibrateGripper();
178 
179  void getParameter(bool& parameter) const;
180 
181  void setParameter(const bool parameter);
182 
183  void toString(std::string& value) const;
184 
185 
186  private:
187  virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
188 
189  virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
190 
191  ParameterType getType() const {return this->parameterType;};
192 
193  std::string getName() const {return this->name;};
194 
195  bool value;
196 
197  std::string name;
198 
200 
201 };
206 friend class YouBotGripper;
207 friend class YouBotGripperBar;
208  public:
210 
211  virtual ~BarSpacingOffset();
212 
213  void getParameter(quantity<si::length>& parameter) const;
214 
215  void setParameter(const quantity<si::length>& parameter);
216 
217  void toString(std::string& value) const;
218 
219 
220  private:
221  virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
222 
223  virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
224 
225  ParameterType getType() const {return this->parameterType;};
226 
227  std::string getName() const {return this->name;};
228 
229  quantity<si::length> value;
230 
231  std::string name;
232 
234 
235 };
240 friend class YouBotGripper;
241 friend class YouBotGripperBar;
242  public:
243  MaxEncoderValue();
244 
245  virtual ~MaxEncoderValue();
246 
247  void getParameter(unsigned int& parameter) const;
248 
249  void setParameter(const unsigned int parameter);
250 
251  void toString(std::string& value) const;
252 
253 
254  private:
255  virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
256 
257  virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
258 
259  ParameterType getType() const {return this->parameterType;};
260 
261  std::string getName() const {return this->name;};
262 
263  unsigned int value;
264 
265  std::string name;
266 
268 
269 };
274 friend class YouBotGripper;
275 friend class YouBotGripperBar;
276  public:
278 
279  virtual ~MaxTravelDistance();
280 
281  void getParameter(quantity<si::length>& parameter) const;
282 
283  void setParameter(const quantity<si::length>& parameter);
284 
285  void toString(std::string& value) const;
286 
287 
288  private:
289  virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
290 
291  virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
292 
293  ParameterType getType() const {return this->parameterType;};
294 
295  std::string getName() const {return this->name;};
296 
297  quantity<si::length> value;
298 
299  std::string name;
300 
302 
303 };
308 friend class YouBotGripper;
309 friend class YouBotGripperBar;
310  public:
311  ActualPosition();
312 
313  virtual ~ActualPosition();
314 
315  void getParameter(int& parameter) const;
316 
317  void setParameter(const int parameter);
318 
319  void toString(std::string& value) const;
320 
321 
322  private:
323  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
324 
325  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
326 
327  std::string getName() const {return this->name;};
328 
329  ParameterType getType() const {return this->parameterType;};
330 
331  int upperLimit;
332 
334 
335  int value;
336 
337  std::string name;
338 
340 
341 };
346 friend class YouBotGripper;
347 friend class YouBotGripperBar;
348  public:
350 
351  virtual ~PositionSetpoint();
352 
353  void getParameter(int& parameter) const;
354 
355  void setParameter(const int parameter);
356 
357  void toString(std::string& value) const;
358 
359 
360  private:
361  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
362 
363  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
364 
365  std::string getName() const {return this->name;};
366 
367  ParameterType getType() const {return this->parameterType;};
368 
369  int upperLimit;
370 
372 
373  int value;
374 
375  std::string name;
376 
378 
379 };
384 friend class YouBotGripper;
385 friend class YouBotGripperBar;
386  public:
388 
389  virtual ~TargetPositionReached();
390 
391  void getParameter(bool& parameter) const;
392 
393  void toString(std::string& value) const;
394 
395 
396  private:
397  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
398 
399  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
400 
401  std::string getName() const {return this->name;};
402 
403  ParameterType getType() const {return this->parameterType;};
404 
405  bool value;
406 
407  std::string name;
408 
410 
411 };
416 friend class YouBotGripper;
417 friend class YouBotGripperBar;
418  public:
419  ActualVelocity();
420 
421  virtual ~ActualVelocity();
422 
423  void getParameter(int& parameter) const;
424 
425  void setParameter(const int parameter);
426 
427  void toString(std::string& value) const;
428 
429 
430  private:
431  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
432 
433  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
434 
435  std::string getName() const {return this->name;};
436 
437  ParameterType getType() const {return this->parameterType;};
438 
439  int upperLimit;
440 
442 
443  int value;
444 
445  std::string name;
446 
448 
449 };
454 friend class YouBotGripper;
455 friend class YouBotGripperBar;
456  public:
458 
459  virtual ~VelocitySetpoint();
460 
461  void getParameter(int& parameter) const;
462 
463  void setParameter(const int parameter);
464 
465  void toString(std::string& value) const;
466 
467 
468  private:
469  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
470 
471  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
472 
473  std::string getName() const {return this->name;};
474 
475  ParameterType getType() const {return this->parameterType;};
476 
477  int upperLimit;
478 
480 
481  int value;
482 
483  std::string name;
484 
486 
487 };
490 
491 
494 friend class YouBotGripper;
495 friend class YouBotGripperBar;
496  public:
497  ActualLoadValue();
498 
499  virtual ~ActualLoadValue();
500 
501  void getParameter(unsigned int& parameter) const;
502 
503  void setParameter(const unsigned int& parameter);
504 
505  void toString(std::string& value) const;
506 
507 
508  private:
509  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
510 
511  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
512 
513  std::string getName() const {return this->name;};
514 
515  ParameterType getType() const {return this->parameterType;};
516 
517  unsigned int upperLimit;
518 
519  unsigned int lowerLimit;
520 
521  unsigned int value;
522 
523  std::string name;
524 
526 
527 };
530 
533 friend class YouBotGripper;
534 friend class YouBotGripperBar;
535  public:
537 
538  virtual ~ChopperBlankTime();
539 
540  void getParameter(unsigned int& parameter) const;
541 
542  void setParameter(const unsigned int& parameter);
543 
544  void toString(std::string& value) const;
545 
546 
547  private:
548  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
549 
550  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
551 
552  std::string getName() const {return this->name;};
553 
554  ParameterType getType() const {return this->parameterType;};
555 
556  unsigned int upperLimit;
557 
558  unsigned int lowerLimit;
559 
560  unsigned int value;
561 
562  std::string name;
563 
565 
566 };
571 
574 friend class YouBotGripper;
575 friend class YouBotGripperBar;
576  public:
578 
579  virtual ~ChopperHysteresisDecrement();
580 
581  void getParameter(unsigned int& parameter) const;
582 
583  void setParameter(const unsigned int& parameter);
584 
585  void toString(std::string& value) const;
586 
587 
588  private:
589  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
590 
591  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
592 
593  std::string getName() const {return this->name;};
594 
595  ParameterType getType() const {return this->parameterType;};
596 
597  unsigned int upperLimit;
598 
599  unsigned int lowerLimit;
600 
601  unsigned int value;
602 
603  std::string name;
604 
606 
607 };
615 friend class YouBotGripper;
616 friend class YouBotGripperBar;
617  public:
619 
620  virtual ~ChopperHysteresisEnd();
621 
622  void getParameter(int& parameter) const;
623 
624  void setParameter(const int parameter);
625 
626  void toString(std::string& value) const;
627 
628 
629  private:
630  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
631 
632  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
633 
634  std::string getName() const {return this->name;};
635 
636  ParameterType getType() const {return this->parameterType;};
637 
638  int upperLimit;
639 
641 
642  int value;
643 
644  std::string name;
645 
647 
648 };
653 friend class YouBotGripper;
654 friend class YouBotGripperBar;
655  public:
657 
658  virtual ~ChopperHysteresisStart();
659 
660  void getParameter(int& parameter) const;
661 
662  void setParameter(const int parameter);
663 
664  void toString(std::string& value) const;
665 
666 
667  private:
668  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
669 
670  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
671 
672  std::string getName() const {return this->name;};
673 
674  ParameterType getType() const {return this->parameterType;};
675 
676  int upperLimit;
677 
679 
680  int value;
681 
682  std::string name;
683 
685 
686 };
691 
694 friend class YouBotGripper;
695 friend class YouBotGripperBar;
696  public:
697  ChopperMode();
698 
699  virtual ~ChopperMode();
700 
701  void getParameter(bool& parameter) const;
702 
703  void setParameter(const bool parameter);
704 
705  void toString(std::string& value) const;
706 
707 
708  private:
709  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
710 
711  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
712 
713  std::string getName() const {return this->name;};
714 
715  ParameterType getType() const {return this->parameterType;};
716 
717  bool value;
718 
719  std::string name;
720 
722 
723 };
729 
732 friend class YouBotGripper;
733 friend class YouBotGripperBar;
734  public:
735  ChopperOffTime();
736 
737  virtual ~ChopperOffTime();
738 
739  void getParameter(unsigned int& parameter) const;
740 
741  void setParameter(const unsigned int& parameter);
742 
743  void toString(std::string& value) const;
744 
745 
746  private:
747  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
748 
749  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
750 
751  std::string getName() const {return this->name;};
752 
753  ParameterType getType() const {return this->parameterType;};
754 
755  unsigned int upperLimit;
756 
757  unsigned int lowerLimit;
758 
759  unsigned int value;
760 
761  std::string name;
762 
764 
765 };
770 
773 friend class YouBotGripper;
774 friend class YouBotGripperBar;
775 
776 
777  public:
779 
780  virtual ~DoubleStepEnable();
781 
782  void getParameter(bool& parameter) const;
783 
784  void setParameter(const bool parameter);
785 
786  void toString(std::string& value) const;
787 
788 
789  private:
790  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
791 
792  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
793 
794  std::string getName() const {return this->name;};
795 
796  ParameterType getType() const {return this->parameterType;};
797 
798  bool value;
799 
800  std::string name;
801 
803 
804 };
824 friend class YouBotGripper;
825 friend class YouBotGripperBar;
826  public:
827  ErrorFlags();
828 
829  virtual ~ErrorFlags();
830 
831  void getParameter(unsigned int& parameter) const;
832 
833  void setParameter(const unsigned int& parameter);
834 
835  void toString(std::string& value) const;
836 
837 
838  private:
839  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
840 
841  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
842 
843  std::string getName() const {return this->name;};
844 
845  ParameterType getType() const {return this->parameterType;};
846 
847  unsigned int upperLimit;
848 
849  unsigned int lowerLimit;
850 
851  unsigned int value;
852 
853  std::string name;
854 
856 
857 };
863 
864 
867 friend class YouBotGripper;
868 friend class YouBotGripperBar;
869  public:
870  Freewheeling();
871 
872  virtual ~Freewheeling();
873 
874  void getParameter(unsigned int& parameter) const;
875 
876  void setParameter(const unsigned int& parameter);
877 
878  void toString(std::string& value) const;
879 
880 
881  private:
882  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
883 
884  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
885 
886  std::string getName() const {return this->name;};
887 
888  ParameterType getType() const {return this->parameterType;};
889 
890  unsigned int upperLimit;
891 
892  unsigned int lowerLimit;
893 
894  unsigned int value;
895 
896  std::string name;
897 
899 
900 };
905 friend class YouBotGripper;
906 friend class YouBotGripperBar;
907  public:
909 
910  virtual ~MaximumAcceleration();
911 
912  void getParameter(int& parameter) const;
913 
914  void setParameter(const int parameter);
915 
916  void toString(std::string& value) const;
917 
918 
919  private:
920  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
921 
922  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
923 
924  std::string getName() const {return this->name;};
925 
926  ParameterType getType() const {return this->parameterType;};
927 
928  int upperLimit;
929 
931 
932  int value;
933 
934  std::string name;
935 
937 
938 };
941 
944 friend class YouBotGripper;
945 friend class YouBotGripperBar;
946  public:
947  MaximumCurrent();
948 
949  virtual ~MaximumCurrent();
950 
951  void getParameter(int& parameter) const;
952 
953  void setParameter(const int parameter);
954 
955  void toString(std::string& value) const;
956 
957 
958  private:
959  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
960 
961  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
962 
963  std::string getName() const {return this->name;};
964 
965  ParameterType getType() const {return this->parameterType;};
966 
967  int upperLimit;
968 
970 
971  int value;
972 
973  std::string name;
974 
976 
977 };
982 friend class YouBotGripper;
983 friend class YouBotGripperBar;
984  public:
986 
987  virtual ~MaximumPositioningSpeed();
988 
989  void getParameter(int& parameter) const;
990 
991  void setParameter(const int parameter);
992 
993  void toString(std::string& value) const;
994 
995 
996  private:
997  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
998 
999  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1000 
1001  std::string getName() const {return this->name;};
1002 
1003  ParameterType getType() const {return this->parameterType;};
1004 
1005  int upperLimit;
1006 
1008 
1009  int value;
1010 
1011  std::string name;
1012 
1014 
1015 };
1028 friend class YouBotGripper;
1029 friend class YouBotGripperBar;
1030 
1031  public:
1033 
1034  virtual ~MicrostepResolution();
1035 
1036  void getParameter(unsigned int& parameter) const;
1037 
1038  void setParameter(const unsigned int& parameter);
1039 
1040  void toString(std::string& value) const;
1041 
1042 
1043  private:
1044  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1045 
1046  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1047 
1048  std::string getName() const {return this->name;};
1049 
1050  ParameterType getType() const {return this->parameterType;};
1051 
1052  unsigned int upperLimit;
1053 
1054  unsigned int lowerLimit;
1055 
1056  unsigned int value;
1057 
1058  std::string name;
1059 
1061 
1062 };
1067 friend class YouBotGripper;
1068 friend class YouBotGripperBar;
1069  public:
1070  PowerDownDelay();
1071 
1072  virtual ~PowerDownDelay();
1073 
1074  void getParameter(unsigned int& parameter) const;
1075 
1076  void setParameter(const unsigned int& parameter);
1077 
1078  void toString(std::string& value) const;
1079 
1080 
1081  private:
1082  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1083 
1084  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1085 
1086  std::string getName() const {return this->name;};
1087 
1088  ParameterType getType() const {return this->parameterType;};
1089 
1090  unsigned int upperLimit;
1091 
1092  unsigned int lowerLimit;
1093 
1094  unsigned int value;
1095 
1096  std::string name;
1097 
1099 
1100 };
1105 friend class YouBotGripper;
1106 friend class YouBotGripperBar;
1107 
1108 
1109  public:
1110  PulseDivisor();
1111 
1112  virtual ~PulseDivisor();
1113 
1114  void getParameter(unsigned int& parameter) const;
1115 
1116  void setParameter(const unsigned int& parameter);
1117 
1118  void toString(std::string& value) const;
1119 
1120 
1121  private:
1122  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1123 
1124  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1125 
1126  std::string getName() const {return this->name;};
1127 
1128  ParameterType getType() const {return this->parameterType;};
1129 
1130  unsigned int upperLimit;
1131 
1132  unsigned int lowerLimit;
1133 
1134  unsigned int value;
1135 
1136  std::string name;
1137 
1139 
1140 };
1145 friend class YouBotGripper;
1146 friend class YouBotGripperBar;
1147 
1148  public:
1149  RampDivisor();
1150 
1151  virtual ~RampDivisor();
1152 
1153  void getParameter(unsigned int& parameter) const;
1154 
1155  void setParameter(const unsigned int& parameter);
1156 
1157  void toString(std::string& value) const;
1158 
1159 
1160  private:
1161  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1162 
1163  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1164 
1165  std::string getName() const {return this->name;};
1166 
1167  ParameterType getType() const {return this->parameterType;};
1168 
1169  unsigned int upperLimit;
1170 
1171  unsigned int lowerLimit;
1172 
1173  unsigned int value;
1174 
1175  std::string name;
1176 
1178 
1179 };
1186 friend class YouBotGripper;
1187 friend class YouBotGripperBar;
1188 
1189  public:
1190  RampMode();
1191 
1192  virtual ~RampMode();
1193 
1194  void getParameter(unsigned int& parameter) const;
1195 
1196  void setParameter(const unsigned int& parameter);
1197 
1198  void toString(std::string& value) const;
1199 
1200 
1201  private:
1202  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1203 
1204  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1205 
1206  std::string getName() const {return this->name;};
1207 
1208  ParameterType getType() const {return this->parameterType;};
1209 
1210  unsigned int upperLimit;
1211 
1212  unsigned int lowerLimit;
1213 
1214  unsigned int value;
1215 
1216  std::string name;
1217 
1219 
1220 };
1227 
1228 
1231 friend class YouBotGripper;
1232 friend class YouBotGripperBar;
1233  public:
1235 
1236  virtual ~ShortDetectionTimer();
1237 
1238  void getParameter(unsigned int& parameter) const;
1239 
1240  void setParameter(const unsigned int& parameter);
1241 
1242  void toString(std::string& value) const;
1243 
1244 
1245  private:
1246  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1247 
1248  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1249 
1250  std::string getName() const {return this->name;};
1251 
1252  ParameterType getType() const {return this->parameterType;};
1253 
1254  unsigned int upperLimit;
1255 
1256  unsigned int lowerLimit;
1257 
1258  unsigned int value;
1259 
1260  std::string name;
1261 
1263 
1264 };
1269 
1272 friend class YouBotGripper;
1273 friend class YouBotGripperBar;
1274  public:
1276 
1277  virtual ~ShortProtectionDisable();
1278 
1279  void getParameter(bool& parameter) const;
1280 
1281  void setParameter(const bool parameter);
1282 
1283  void toString(std::string& value) const;
1284 
1285 
1286  private:
1287  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1288 
1289  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1290 
1291  std::string getName() const {return this->name;};
1292 
1293  ParameterType getType() const {return this->parameterType;};
1294 
1295  bool value;
1296 
1297  std::string name;
1298 
1300 
1301 };
1306 
1309 friend class YouBotGripper;
1310 friend class YouBotGripperBar;
1311  public:
1313 
1314  virtual ~SlopeControlHighSide();
1315 
1316  void getParameter(unsigned int& parameter) const;
1317 
1318  void setParameter(const unsigned int& parameter);
1319 
1320  void toString(std::string& value) const;
1321 
1322 
1323  private:
1324  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1325 
1326  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1327 
1328  std::string getName() const {return this->name;};
1329 
1330  ParameterType getType() const {return this->parameterType;};
1331 
1332  unsigned int upperLimit;
1333 
1334  unsigned int lowerLimit;
1335 
1336  unsigned int value;
1337 
1338  std::string name;
1339 
1341 
1342 };
1345 
1348 friend class YouBotGripper;
1349 friend class YouBotGripperBar;
1350  public:
1352 
1353  virtual ~SlopeControlLowSide();
1354 
1355  void getParameter(unsigned int& parameter) const;
1356 
1357  void setParameter(const unsigned int& parameter);
1358 
1359  void toString(std::string& value) const;
1360 
1361 
1362  private:
1363  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1364 
1365  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1366 
1367  std::string getName() const {return this->name;};
1368 
1369  ParameterType getType() const {return this->parameterType;};
1370 
1371  unsigned int upperLimit;
1372 
1373  unsigned int lowerLimit;
1374 
1375  unsigned int value;
1376 
1377  std::string name;
1378 
1380 
1381 };
1386 
1387 
1390 friend class YouBotGripper;
1391 friend class YouBotGripperBar;
1392  public:
1394 
1395  virtual ~SmartEnergyActualCurrent();
1396 
1397  void getParameter(unsigned int& parameter) const;
1398 
1399  void setParameter(const unsigned int& parameter);
1400 
1401  void toString(std::string& value) const;
1402 
1403 
1404  private:
1405  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1406 
1407  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1408 
1409  std::string getName() const {return this->name;};
1410 
1411  ParameterType getType() const {return this->parameterType;};
1412 
1413  unsigned int upperLimit;
1414 
1415  unsigned int lowerLimit;
1416 
1417  unsigned int value;
1418 
1419  std::string name;
1420 
1422 
1423 };
1432 friend class YouBotGripper;
1433 friend class YouBotGripperBar;
1434  public:
1436 
1437  virtual ~SmartEnergyCurrentDownStep();
1438 
1439  void getParameter(unsigned int& parameter) const;
1440 
1441  void setParameter(const unsigned int& parameter);
1442 
1443  void toString(std::string& value) const;
1444 
1445 
1446  private:
1447  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1448 
1449  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1450 
1451  std::string getName() const {return this->name;};
1452 
1453  ParameterType getType() const {return this->parameterType;};
1454 
1455  unsigned int upperLimit;
1456 
1457  unsigned int lowerLimit;
1458 
1459  unsigned int value;
1460 
1461  std::string name;
1462 
1464 
1465 };
1473 friend class YouBotGripper;
1474 friend class YouBotGripperBar;
1475  public:
1477 
1478  virtual ~SmartEnergyCurrentMinimum();
1479 
1480  void getParameter(unsigned int& parameter) const;
1481 
1482  void setParameter(const unsigned int& parameter);
1483 
1484  void toString(std::string& value) const;
1485 
1486 
1487  private:
1488  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1489 
1490  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1491 
1492  std::string getName() const {return this->name;};
1493 
1494  ParameterType getType() const {return this->parameterType;};
1495 
1496  unsigned int upperLimit;
1497 
1498  unsigned int lowerLimit;
1499 
1500  unsigned int value;
1501 
1502  std::string name;
1503 
1505 
1506 };
1512 
1515 friend class YouBotGripper;
1516 friend class YouBotGripperBar;
1517  public:
1519 
1520  virtual ~SmartEnergyCurrentUpStep();
1521 
1522  void getParameter(unsigned int& parameter) const;
1523 
1524  void setParameter(const unsigned int& parameter);
1525 
1526  void toString(std::string& value) const;
1527 
1528 
1529  private:
1530  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1531 
1532  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1533 
1534  std::string getName() const {return this->name;};
1535 
1536  ParameterType getType() const {return this->parameterType;};
1537 
1538  unsigned int upperLimit;
1539 
1540  unsigned int lowerLimit;
1541 
1542  unsigned int value;
1543 
1544  std::string name;
1545 
1547 
1548 };
1555 friend class YouBotGripper;
1556 friend class YouBotGripperBar;
1557  public:
1559 
1560  virtual ~SmartEnergyHysteresis();
1561 
1562  void getParameter(unsigned int& parameter) const;
1563 
1564  void setParameter(const unsigned int& parameter);
1565 
1566  void toString(std::string& value) const;
1567 
1568 
1569  private:
1570  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1571 
1572  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1573 
1574  std::string getName() const {return this->name;};
1575 
1576  ParameterType getType() const {return this->parameterType;};
1577 
1578  unsigned int upperLimit;
1579 
1580  unsigned int lowerLimit;
1581 
1582  unsigned int value;
1583 
1584  std::string name;
1585 
1587 
1588 };
1591 
1594 friend class YouBotGripper;
1595 friend class YouBotGripperBar;
1596  public:
1598 
1599  virtual ~SmartEnergyHysteresisStart();
1600 
1601  void getParameter(unsigned int& parameter) const;
1602 
1603  void setParameter(const unsigned int& parameter);
1604 
1605  void toString(std::string& value) const;
1606 
1607 
1608  private:
1609  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1610 
1611  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1612 
1613  std::string getName() const {return this->name;};
1614 
1615  ParameterType getType() const {return this->parameterType;};
1616 
1617  unsigned int upperLimit;
1618 
1619  unsigned int lowerLimit;
1620 
1621  unsigned int value;
1622 
1623  std::string name;
1624 
1626 
1627 };
1630 
1633 friend class YouBotGripper;
1634 friend class YouBotGripperBar;
1635  public:
1637 
1638  virtual ~SmartEnergySlowRunCurrent();
1639 
1640  void getParameter(unsigned int& parameter) const;
1641 
1642  void setParameter(const unsigned int& parameter);
1643 
1644  void toString(std::string& value) const;
1645 
1646 
1647  private:
1648  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1649 
1650  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1651 
1652  std::string getName() const {return this->name;};
1653 
1654  ParameterType getType() const {return this->parameterType;};
1655 
1656  unsigned int upperLimit;
1657 
1658  unsigned int lowerLimit;
1659 
1660  unsigned int value;
1661 
1662  std::string name;
1663 
1665 
1666 };
1669 
1672 friend class YouBotGripper;
1673 friend class YouBotGripperBar;
1674  public:
1676 
1677  virtual ~SmartEnergyThresholdSpeed();
1678 
1679  void getParameter(unsigned int& parameter) const;
1680 
1681  void setParameter(const unsigned int& parameter);
1682 
1683  void toString(std::string& value) const;
1684 
1685 
1686  private:
1687  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1688 
1689  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1690 
1691  std::string getName() const {return this->name;};
1692 
1693  ParameterType getType() const {return this->parameterType;};
1694 
1695  unsigned int upperLimit;
1696 
1697  unsigned int lowerLimit;
1698 
1699  unsigned int value;
1700 
1701  std::string name;
1702 
1704 
1705 };
1712 friend class YouBotGripper;
1713 friend class YouBotGripperBar;
1714  public:
1716 
1717  virtual ~StallGuard2FilterEnable();
1718 
1719  void getParameter(bool& parameter) const;
1720 
1721  void setParameter(const bool parameter);
1722 
1723  void toString(std::string& value) const;
1724 
1725 
1726  private:
1727  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1728 
1729  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1730 
1731  std::string getName() const {return this->name;};
1732 
1733  ParameterType getType() const {return this->parameterType;};
1734 
1735  bool value;
1736 
1737  std::string name;
1738 
1740 
1741 };
1749 friend class YouBotGripper;
1750 friend class YouBotGripperBar;
1751  public:
1753 
1754  virtual ~StallGuard2Threshold();
1755 
1756  void getParameter(int& parameter) const;
1757 
1758  void setParameter(const int parameter);
1759 
1760  void toString(std::string& value) const;
1761 
1762 
1763  private:
1764  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1765 
1766  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1767 
1768  std::string getName() const {return this->name;};
1769 
1770  ParameterType getType() const {return this->parameterType;};
1771 
1772  int upperLimit;
1773 
1775 
1776  int value;
1777 
1778  std::string name;
1779 
1781 
1782 };
1785 
1788 friend class YouBotGripper;
1789 friend class YouBotGripperBar;
1790 
1791  public:
1792  StandbyCurrent();
1793 
1794  virtual ~StandbyCurrent();
1795 
1796  void getParameter(int& parameter) const;
1797 
1798  void setParameter(const int parameter);
1799 
1800  void toString(std::string& value) const;
1801 
1802 
1803  private:
1804  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1805 
1806  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1807 
1808  std::string getName() const {return this->name;};
1809 
1810  ParameterType getType() const {return this->parameterType;};
1811 
1812  int upperLimit;
1813 
1815 
1816  int value;
1817 
1818  std::string name;
1819 
1821 
1822 };
1827 
1830 friend class YouBotGripper;
1831 friend class YouBotGripperBar;
1832 
1833 
1834  public:
1836 
1837  virtual ~StepInterpolationEnable();
1838 
1839  void getParameter(bool& parameter) const;
1840 
1841  void setParameter(const bool parameter);
1842 
1843  void toString(std::string& value) const;
1844 
1845 
1846  private:
1847  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1848 
1849  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1850 
1851  std::string getName() const {return this->name;};
1852 
1853  ParameterType getType() const {return this->parameterType;};
1854 
1855  bool value;
1856 
1857  std::string name;
1858 
1860 
1861 };
1866 friend class YouBotGripper;
1867 friend class YouBotGripperBar;
1868  public:
1869  StopOnStall();
1870 
1871  virtual ~StopOnStall();
1872 
1873  void getParameter(bool& parameter) const;
1874 
1875  void setParameter(const bool parameter);
1876 
1877  void toString(std::string& value) const;
1878 
1879 
1880  private:
1881  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1882 
1883  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1884 
1885  std::string getName() const {return this->name;};
1886 
1887  ParameterType getType() const {return this->parameterType;};
1888 
1889  bool value;
1890 
1891  std::string name;
1892 
1894 
1895 };
1902 
1905 friend class YouBotGripper;
1906 friend class YouBotGripperBar;
1907  public:
1908  Vsense();
1909 
1910  virtual ~Vsense();
1911 
1912  void getParameter(unsigned int& parameter) const;
1913 
1914  void setParameter(const unsigned int& parameter);
1915 
1916  void toString(std::string& value) const;
1917 
1918 
1919  private:
1920  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1921 
1922  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1923 
1924  std::string getName() const {return this->name;};
1925 
1926  ParameterType getType() const {return this->parameterType;};
1927 
1928  unsigned int upperLimit;
1929 
1930  unsigned int lowerLimit;
1931 
1932  unsigned int value;
1933 
1934  std::string name;
1935 
1937 
1938 };
1943 friend class YouBotGripper;
1944 friend class YouBotGripperBar;
1945  public:
1947 
1948  virtual ~ActualAcceleration();
1949 
1950  void getParameter(int& parameter) const;
1951 
1952  void toString(std::string& value) const;
1953 
1954 
1955  private:
1956  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1957 
1958  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1959 
1960  std::string getName() const {return this->name;};
1961 
1962  ParameterType getType() const {return this->parameterType;};
1963 
1964  int upperLimit;
1965 
1967 
1968  int value;
1969 
1970  std::string name;
1971 
1973 
1974 };
1979 friend class YouBotGripper;
1980 friend class YouBotGripperBar;
1981  public:
1982  MinimumSpeed();
1983 
1984  virtual ~MinimumSpeed();
1985 
1986  void getParameter(int& parameter) const;
1987 
1988  void setParameter(const int parameter);
1989 
1990  void toString(std::string& value) const;
1991 
1992 
1993  private:
1994  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
1995 
1996  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
1997 
1998  std::string getName() const {return this->name;};
1999 
2000  ParameterType getType() const {return this->parameterType;};
2001 
2002  int upperLimit;
2003 
2005 
2006  int value;
2007 
2008  std::string name;
2009 
2011 
2012 };
2013 
2014 } // namespace youbot
2015 #endif
Indicates that the actual position equals the target position.
std::string getName() const
std::string getName() const
The encoder value when the gripper has reached it&#39;s maximum bar spacing position. ...
abstract gripper parameter
Actual position of one gripper bar.
ParameterType getType() const
ParameterType getType() const
The lower threshold for the stallGuard2 value (see smart Energy current up step). ...
The current acceleration (read only).
virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message) const =0
Hysteresis start setting. Please remark, that this value is an offset to the hysteresis end value...
Position setpoint for one gripper bar.
The youBot gripper with one degree of freedom.
virtual std::string getName() const =0
virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message)=0
Standstill period before the current is changed down to standby current. The standard value is 200 (v...
Readout of the actual load value with used for stall detection (stallGuard2).
The maximum bar spacing distance of the gripper.
The most important motor setting, since too high values might cause motor damage! The maximum value i...
Acceleration parameter for velocity control and position control.
std::string getName() const
std::string getName() const
std::string getName() const
std::string getName() const
EtherCAT mailbox message of the youBot slaves.
The exponent of the scaling factor for the ramp generator- should be de/incremented carefully (in ste...
std::string getName() const
virtual ParameterType getType() const =0
The current limit two seconds after the motor has stopped.
Motor stop in case of stall.
Determines the slope of the motor driver outputs. Set identical to slope control high side...
Represents a bar spacing offset. It could be useful if the gripper can not be totally closed...
One bar of the youBot gripper.
the firmware version of the gripper
Sets the motor current which is used below the threshold speed.
std::string getName() const
abstract youBot gripper parameter
Above this speed coolStep becomes enabled.
The name for a gripper bar or finger.
Should always be set 1 to ensure exact reaching of the target position. Do not change! ...
Velocity setpoint for one gripper bar.
virtual void toString(std::string &value) const =0
The exponent of the scaling factor for the pulse (step) generator should be de/incremented carefully ...
ParameterType getType() const
The limit for acceleration (and deceleration). Changing this parameter requires re-calculation of the...
Selects the comparator blank time. This time needs to safely cover the switching event and the durati...
Actual velocity of one gripper bar.
std::string getName() const


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