YouBotJointParameterPasswordProtected.hpp
Go to the documentation of this file.
1 #ifndef YOUBOT_YOUBOTJOINTPARAMETERPASSWORDPROTECTED_H
2 #define YOUBOT_YOUBOTJOINTPARAMETERPASSWORDPROTECTED_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>
56 #include <boost/limits.hpp>
66 namespace youbot {
67 
72 friend class YouBotJoint;
73  protected:
75 
76 
77  public:
79 
80  virtual void toString(std::string& value) = 0;
81 
82 
83  protected:
84  virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const = 0;
85 
86  virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage) = 0;
87 
88  virtual std::string getName() const = 0;
89 
90  virtual ParameterType getType() const = 0;
91 
92  std::string name;
93 
95 
96 };
101 friend class YouBotJoint;
102  public:
104 
106 
107  void getParameter(bool& parameter) const;
108 
109  void setParameter(const bool parameter);
110 
111  void toString(std::string& value);
112 
113 
114  private:
115  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
116 
117  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
118 
119  std::string getName() const {return this->name;};
120 
121  ParameterType getType() const {return this->parameterType;};
122 
123  bool value;
124 
125  std::string name;
126 
128 
129 };
134 friend class YouBotJoint;
135  public:
137 
138  virtual ~ActualCommutationOffset();
139 
140  void getParameter(int& parameter) const;
141 
142  void setParameter(const int parameter);
143 
144  void toString(std::string& value);
145 
146 
147  private:
148  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
149 
150  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
151 
152  std::string getName() const {return this->name;};
153 
154  ParameterType getType() const {return this->parameterType;};
155 
156  int upperLimit;
157 
159 
160  int value;
161 
162  std::string name;
163 
165 
166 };
171 friend class YouBotJoint;
172  public:
174 
175  virtual ~ApproveProtectedParameters();
176 
177  void getParameter(int& parameter) const;
178 
179  void setParameter(const int parameter);
180 
181  void toString(std::string& value);
182 
183 
184  private:
185  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
186 
187  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
188 
189  std::string getName() const {return this->name;};
190 
191  ParameterType getType() const {return this->parameterType;};
192 
193  int upperLimit;
194 
196 
197  int value;
198 
199  std::string name;
200 
202 
203 };
208 friend class YouBotJoint;
209  public:
210  BEMFConstant();
211 
212  virtual ~BEMFConstant();
213 
214  void getParameter(int& parameter) const;
215 
216  void setParameter(const int parameter);
217 
218  void toString(std::string& value);
219 
220 
221  private:
222  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
223 
224  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
225 
226  std::string getName() const {return this->name;};
227 
228  ParameterType getType() const {return this->parameterType;};
229 
230  int upperLimit;
231 
233 
234  int value;
235 
236  std::string name;
237 
239 
240 };
251 friend class YouBotJoint;
252  public:
253  CommutationMode();
254 
255  virtual ~CommutationMode();
256 
257  void getParameter(unsigned int& parameter) const;
258 
259  void setParameter(const unsigned int parameter);
260 
261  void toString(std::string& value);
262 
263 
264  private:
265  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
266 
267  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
268 
269  std::string getName() const {return this->name;};
270 
271  ParameterType getType() const {return this->parameterType;};
272 
273  unsigned int upperLimit;
274 
275  unsigned int lowerLimit;
276 
277  unsigned int value;
278 
279  std::string name;
280 
282 
283 };
288 friend class YouBotJoint;
289  public:
291 
292  virtual ~CommutationMotorCurrent();
293 
294  void getParameter(quantity<current>& parameter) const;
295 
296  void setParameter(const quantity<current>& parameter);
297 
298  void toString(std::string& value);
299 
300 
301  private:
302  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
303 
304  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
305 
306  std::string getName() const {return this->name;};
307 
308  ParameterType getType() const {return this->parameterType;};
309 
310  quantity<current> upperLimit;
311 
312  quantity<current> lowerLimit;
313 
314  quantity<current> value;
315 
316  std::string name;
317 
319 
320 };
325 friend class YouBotJoint;
326  public:
328 
329  virtual ~CurrentControlLoopDelay();
330 
331  void getParameter(quantity<si::time>& parameter) const;
332 
333  void setParameter(const quantity<si::time>& parameter);
334 
335  void toString(std::string& value);
336 
337 
338  private:
339  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
340 
341  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
342 
343  std::string getName() const {return this->name;};
344 
345  ParameterType getType() const {return this->parameterType;};
346 
347  quantity<si::time> upperLimit;
348 
349  quantity<si::time> lowerLimit;
350 
351  quantity<si::time> value;
352 
353  std::string name;
354 
356 
357 };
362 friend class YouBotJoint;
363  public:
365 
366  virtual ~EncoderResolution();
367 
368  void getParameter(unsigned int& parameter) const;
369 
370  void setParameter(const unsigned int parameter);
371 
372  void toString(std::string& value);
373 
374 
375  private:
376  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
377 
378  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
379 
380  std::string getName() const {return this->name;};
381 
382  ParameterType getType() const {return this->parameterType;};
383 
384  unsigned int upperLimit;
385 
386  unsigned int lowerLimit;
387 
388  unsigned int value;
389 
390  std::string name;
391 
393 
394 };
404 friend class YouBotJoint;
405  public:
407 
408  virtual ~EncoderStopSwitch();
409 
410  void getParameter(unsigned int& parameter) const;
411 
412  void setParameter(const unsigned int parameter);
413 
414  void toString(std::string& value);
415 
416 
417  private:
418  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
419 
420  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
421 
422  std::string getName() const {return this->name;};
423 
424  ParameterType getType() const {return this->parameterType;};
425 
426  unsigned int upperLimit;
427 
428  unsigned int lowerLimit;
429 
430  unsigned int value;
431 
432  std::string name;
433 
435 
436 };
441 friend class YouBotJoint;
442  public:
444 
445  virtual ~HallSensorPolarityReversal();
446 
447  void getParameter(bool& parameter) const;
448 
449  void setParameter(const bool parameter);
450 
451  void toString(std::string& value);
452 
453 
454  private:
455  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
456 
457  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
458 
459  std::string getName() const {return this->name;};
460 
461  ParameterType getType() const {return this->parameterType;};
462 
463  bool value;
464 
465  std::string name;
466 
468 
469 };
474 friend class YouBotJoint;
475  public:
477 
478  virtual ~I2tExceedCounter();
479 
480  void getParameter(unsigned int& parameter) const;
481 
482  void setParameter(const unsigned int parameter);
483 
484  void toString(std::string& value);
485 
486 
487  private:
488  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
489 
490  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
491 
492  std::string getName() const {return this->name;};
493 
494  ParameterType getType() const {return this->parameterType;};
495 
496  unsigned int upperLimit;
497 
498  unsigned int lowerLimit;
499 
500  unsigned int value;
501 
502  std::string name;
503 
505 
506 };
511 friend class YouBotJoint;
512  public:
513  I2tLimit();
514 
515  virtual ~I2tLimit();
516 
517  void getParameter(unsigned int& parameter) const;
518 
519  void setParameter(const unsigned int parameter);
520 
521  void toString(std::string& value);
522 
523 
524  private:
525  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
526 
527  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
528 
529  std::string getName() const {return this->name;};
530 
531  ParameterType getType() const {return this->parameterType;};
532 
533  unsigned int upperLimit;
534 
535  unsigned int lowerLimit;
536 
537  unsigned int value;
538 
539  std::string name;
540 
542 
543 };
550 friend class YouBotJoint;
551  public:
553 
554  virtual ~InitializationMode();
555 
556  void getParameter(int& parameter) const;
557 
558  void setParameter(const int parameter);
559 
560  void toString(std::string& value);
561 
562 
563  private:
564  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
565 
566  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
567 
568  std::string getName() const {return this->name;};
569 
570  ParameterType getType() const {return this->parameterType;};
571 
572  int upperLimit;
573 
575 
576  int value;
577 
578  std::string name;
579 
581 
582 };
587 friend class YouBotJoint;
588  public:
589  InitSineDelay();
590 
591  virtual ~InitSineDelay();
592 
593  void getParameter(quantity<si::time>& parameter) const;
594 
595  void setParameter(const quantity<si::time>& parameter);
596 
597  void toString(std::string& value);
598 
599 
600  private:
601  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
602 
603  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
604 
605  std::string getName() const {return this->name;};
606 
607  ParameterType getType() const {return this->parameterType;};
608 
609  quantity<si::time> upperLimit;
610 
611  quantity<si::time> lowerLimit;
612 
613  quantity<si::time> value;
614 
615  std::string name;
616 
618 
619 };
624 friend class YouBotJoint;
625  public:
627 
628  virtual ~MassInertiaConstant();
629 
630  void getParameter(int& parameter) const;
631 
632  void setParameter(const int parameter);
633 
634  void toString(std::string& value);
635 
636 
637  private:
638  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
639 
640  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
641 
642  std::string getName() const {return this->name;};
643 
644  ParameterType getType() const {return this->parameterType;};
645 
646  int upperLimit;
647 
649 
650  int value;
651 
652  std::string name;
653 
655 
656 };
661 friend class YouBotJoint;
662  public:
664 
665  virtual ~MaximumMotorCurrent();
666 
667  void getParameter(quantity<current>& parameter) const;
668 
669  void setParameter(const quantity<current>& parameter);
670 
671  void toString(std::string& value);
672 
673 
674  private:
675  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
676 
677  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
678 
679  std::string getName() const {return this->name;};
680 
681  ParameterType getType() const {return this->parameterType;};
682 
683  quantity<current> upperLimit;
684 
685  quantity<current> lowerLimit;
686 
687  quantity<current> value;
688 
689  std::string name;
690 
692 
693 };
698 friend class YouBotJoint;
699  public:
701 
702  virtual ~MotorCoilResistance();
703 
704  void getParameter(quantity<resistance>& parameter) const;
705 
706  void setParameter(const quantity<resistance>& parameter);
707 
708  void toString(std::string& value);
709 
710 
711  private:
712  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
713 
714  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
715 
716  std::string getName() const {return this->name;};
717 
718  ParameterType getType() const {return this->parameterType;};
719 
720  quantity<resistance> upperLimit;
721 
722  quantity<resistance> lowerLimit;
723 
724  quantity<resistance> value;
725 
726  std::string name;
727 
729 
730 };
735 friend class YouBotJoint;
736  public:
738 
739  virtual ~MotorControllerTimeout();
740 
741  void getParameter(quantity<si::time>& parameter) const;
742 
743  void setParameter(const quantity<si::time>& parameter);
744 
745  void toString(std::string& value);
746 
747 
748  private:
749  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
750 
751  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
752 
753  std::string getName() const {return this->name;};
754 
755  ParameterType getType() const {return this->parameterType;};
756 
757  quantity<si::time> upperLimit;
758 
759  quantity<si::time> lowerLimit;
760 
761  quantity<si::time> value;
762 
763  std::string name;
764 
766 
767 };
772 friend class YouBotJoint;
773  public:
774  MotorPoles();
775 
776  virtual ~MotorPoles();
777 
778  void getParameter(unsigned int& parameter) const;
779 
780  void setParameter(const unsigned int parameter);
781 
782  void toString(std::string& value);
783 
784 
785  private:
786  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
787 
788  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
789 
790  std::string getName() const {return this->name;};
791 
792  ParameterType getType() const {return this->parameterType;};
793 
794  unsigned int upperLimit;
795 
796  unsigned int lowerLimit;
797 
798  unsigned int value;
799 
800  std::string name;
801 
803 
804 };
809 friend class YouBotJoint;
810  public:
811  OperationalTime();
812 
813  virtual ~OperationalTime();
814 
815  void getParameter(quantity<si::time>& parameter) const;
816 
817  void setParameter(const quantity<si::time>& parameter);
818 
819  void toString(std::string& value);
820 
821 
822  private:
823  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
824 
825  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
826 
827  std::string getName() const {return this->name;};
828 
829  ParameterType getType() const {return this->parameterType;};
830 
831  quantity<si::time> upperLimit;
832 
833  quantity<si::time> lowerLimit;
834 
835  quantity<si::time> value;
836 
837  std::string name;
838 
840 
841 };
846 friend class YouBotJoint;
847  public:
848  PIDControlTime();
849 
850  virtual ~PIDControlTime();
851 
852  void getParameter(quantity<si::time>& parameter) const;
853 
854  void setParameter(const quantity<si::time>& parameter);
855 
856  void toString(std::string& value);
857 
858 
859  private:
860  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
861 
862  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
863 
864  std::string getName() const {return this->name;};
865 
866  ParameterType getType() const {return this->parameterType;};
867 
868  quantity<si::time> upperLimit;
869 
870  quantity<si::time> lowerLimit;
871 
872  quantity<si::time> value;
873 
874  std::string name;
875 
877 
878 };
883 friend class YouBotJoint;
884  public:
886 
887  virtual ~ReversingEncoderDirection();
888 
889  bool getParameter(bool& parameter) const;
890 
891  void setParameter(const bool parameter);
892 
893  void toString(std::string& value);
894 
895 
896  private:
897  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
898 
899  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
900 
901  std::string getName() const {return this->name;};
902 
903  ParameterType getType() const {return this->parameterType;};
904 
905  bool value;
906 
907  std::string name;
908 
910 
911 };
916 friend class YouBotJoint;
917  public:
919 
921 
922  void getParameter(bool& parameter) const;
923 
924  void setParameter(const bool parameter);
925 
926  void toString(std::string& value);
927 
928 
929  private:
930  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
931 
932  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
933 
934  std::string getName() const {return this->name;};
935 
936  ParameterType getType() const {return this->parameterType;};
937 
938  bool value;
939 
940  std::string name;
941 
943 
944 };
949 friend class YouBotJoint;
950  public:
952 
954 
955  void getParameter(bool& parameter) const;
956 
957  void setParameter(const bool parameter);
958 
959  void toString(std::string& value);
960 
961 
962  private:
963  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
964 
965  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
966 
967  std::string getName() const {return this->name;};
968 
969  ParameterType getType() const {return this->parameterType;};
970 
971  bool value;
972 
973  std::string name;
974 
976 
977 };
983 friend class YouBotJoint;
984  public:
986 
988 
989  void getParameter(bool& parameter) const;
990 
991  void setParameter(const bool parameter);
992 
993  void toString(std::string& value);
994 
995 
996  private:
997  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
998 
999  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
1000 
1001  std::string getName() const {return this->name;};
1002 
1003  ParameterType getType() const {return this->parameterType;};
1004 
1005  bool value;
1006 
1007  std::string name;
1008 
1010 
1011 };
1016 friend class YouBotJoint;
1017  public:
1019 
1020  virtual ~SineInitializationVelocity();
1021 
1022  void getParameter(int& parameter) const;
1023 
1024  void setParameter(const int parameter);
1025 
1026  void toString(std::string& value);
1027 
1028 
1029  private:
1030  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
1031 
1032  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
1033 
1034  std::string getName() const {return this->name;};
1035 
1036  ParameterType getType() const {return this->parameterType;};
1037 
1038  int upperLimit;
1039 
1041 
1042  int value;
1043 
1044  std::string name;
1045 
1047 
1048 };
1059 friend class YouBotJoint;
1060  public:
1062 
1063  virtual ~StopSwitchPolarity();
1064 
1065  void getParameter(unsigned int& parameter) const;
1066 
1067  void setParameter(const unsigned int parameter);
1068 
1069  void toString(std::string& value);
1070 
1071 
1072  private:
1073  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
1074 
1075  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
1076 
1077  std::string getName() const {return this->name;};
1078 
1079  ParameterType getType() const {return this->parameterType;};
1080 
1081  unsigned int upperLimit;
1082 
1083  unsigned int lowerLimit;
1084 
1085  unsigned int value;
1086 
1087  std::string name;
1088 
1090 
1091 };
1096 friend class YouBotJoint;
1097  public:
1099 
1100  virtual ~ThermalWindingTimeConstant();
1101 
1102  void getParameter(quantity<si::time>& parameter) const;
1103 
1104  void setParameter(const quantity<si::time>& parameter);
1105 
1106  void toString(std::string& value);
1107 
1108 
1109  private:
1110  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
1111 
1112  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
1113 
1114  std::string getName() const {return this->name;};
1115 
1116  ParameterType getType() const {return this->parameterType;};
1117 
1118  quantity<si::time> upperLimit;
1119 
1120  quantity<si::time> lowerLimit;
1121 
1122  quantity<si::time> value;
1123 
1124  std::string name;
1125 
1127 
1128 };
1131 
1134 friend class YouBotJoint;
1135  public:
1137 
1138  virtual ~MotorHaltedVelocity();
1139 
1140  void getParameter(int& parameter) const;
1141 
1142  void setParameter(const int parameter);
1143 
1144  void toString(std::string& value);
1145 
1146 
1147  private:
1148  void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message, TMCLCommandNumber msgType, const YouBotJointStorage& storage) const;
1149 
1150  void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message, const YouBotJointStorage& storage);
1151 
1152  std::string getName() const {return this->name;};
1153 
1154  ParameterType getType() const {return this->parameterType;};
1155 
1156  int upperLimit;
1157 
1159 
1160  int value;
1161 
1162  std::string name;
1163 
1165 
1166 };
1167 
1168 } // namespace youbot
1169 #endif
An actual I2t sum that exceeds this limit leads to increasing the I2t exceed counter.
virtual ParameterType getType() const =0
Thermal winding time constant for the used motor. Used for I2t monitoring.
Enter a password to approve the change of protected parameters.
Encoder direction Set this flag in a way, that turn right increases position counter.
virtual void toString(std::string &value)=0
Counts the module operational time.
virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const =0
Duration for sine initialization sequence. This parameter should be set in a way, that the motor has ...
PID calculation delay: Set operational frequency PID.
Set Encoder counter to zero at next N channel event.
If the actual speed is below this value the motor halted flag will be set. [rpm]. ...
Set encoder counter to zero at next switch event.
Mass inertia constant for position regulation. Compensates mass moment of inertia of rotor...
EtherCAT mailbox message of the youBot slaves.
abstract youBot joint parameter
This value represents the internal commutation offset. (0 ... max. Encoder steps per rotation) ...
Motor current for controlled commutation. This parameter is used in commutation mode 1...
Delay of current limitation algorithm / PID current regulator.
Hall sensor invert. Sets one of the motors invert with inverted hall scheme, e.g. some Maxon motors...
Resistance of motor coil. Used for current resistance regulation, position regulation and velocity re...
virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)=0
Stores YouBotJoint informations which are needed in the driver.
Set/Get Timeout to determine an interrupted communication with the EtherCAT master. (automatically stored in EEProm)
BEMF constant of motor. Used for current regulation, position regulation and velocity regulation...
Counts how often an I2t sum was higher than the I2t limit.
virtual std::string getName() const =0


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