YouBotJointParameterReadOnly.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 0006FDF1
56  // Bouml preserved body end 0006FDF1
57 }
58 
60  // Bouml preserved body begin 0006FE71
61  // Bouml preserved body end 0006FE71
62 }
63 
65  // Bouml preserved body begin 0007E071
66  this->name = "ActualMotorVoltage";
68  // Bouml preserved body end 0007E071
69 }
70 
72  // Bouml preserved body begin 0007E0F1
73  // Bouml preserved body end 0007E0F1
74 }
75 
76 void ActualMotorVoltage::getParameter(quantity<electric_potential>& parameter) const {
77  // Bouml preserved body begin 0007E171
78  parameter = this->value;
79  // Bouml preserved body end 0007E171
80 }
81 
82 void ActualMotorVoltage::toString(std::string& value) {
83  // Bouml preserved body begin 0009EC71
84  std::stringstream ss;
85  ss << this->name << ": " << this->value.value();
86  value = ss.str();
87  // Bouml preserved body end 0009EC71
88 }
89 
91  // Bouml preserved body begin 0007E1F1
92  message.stctOutput.commandNumber = msgType;
93  message.stctOutput.moduleAddress = DRIVE;
94  message.stctOutput.typeNumber = 151; //ActualMotorVoltage
95  // message.stctOutput.value = value;
96 
97  // Bouml preserved body end 0007E1F1
98 }
99 
101  // Bouml preserved body begin 0007E271
102  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
103  double temp = message.stctInput.value;
104  this->value = temp/100.0 * volt; //TODO do convertion
105  }
106  // Bouml preserved body end 0007E271
107 }
108 
110  // Bouml preserved body begin 0007E771
111  this->name = "ErrorAndStatus";
113  // Bouml preserved body end 0007E771
114 }
115 
117  // Bouml preserved body begin 0007E7F1
118  // Bouml preserved body end 0007E7F1
119 }
120 
121 void ErrorAndStatus::getParameter(unsigned int& parameter) const {
122  // Bouml preserved body begin 0007E871
123  parameter = this->value;
124  this->parseYouBotErrorFlags();
125  // Bouml preserved body end 0007E871
126 }
127 
128 void ErrorAndStatus::toString(std::string& value) {
129  // Bouml preserved body begin 0009ED71
130  std::stringstream ss;
131  ss << this->name << ": " << this->value;
132  value = ss.str();
133  // Bouml preserved body end 0009ED71
134 }
135 
137  // Bouml preserved body begin 0007E8F1
138  message.stctOutput.commandNumber = msgType;
139  message.stctOutput.moduleAddress = DRIVE;
140  message.stctOutput.typeNumber = 156; //ErrorAndStatus
141  // message.stctOutput.value = value;
142 
143  // Bouml preserved body end 0007E8F1
144 }
145 
147  // Bouml preserved body begin 0007E971
148  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
149  this->value = message.stctInput.value;
150  }
151  // Bouml preserved body end 0007E971
152 }
153 
155  // Bouml preserved body begin 0007EAF1
156  // std::stringstream errorMessageStream;
157  // errorMessageStream << "Joint " << this->jointNumber << " ";
158  std::string errorMessage;
159  // errorMessage = errorMessageStream.str();
160 
161 
162  if (value & OVER_CURRENT) {
163  LOG(warning) << errorMessage << "over current";
164  // throw JointErrorException(errorMessage + "got over current");
165  }
166 
167  if (value & UNDER_VOLTAGE) {
168  LOG(warning) << errorMessage << "under voltage";
169  // throw JointErrorException(errorMessage + "got under voltage");
170  }
171 
172  if (value & OVER_VOLTAGE) {
173  LOG(warning) << errorMessage << "over voltage";
174  // throw JointErrorException(errorMessage + "got over voltage");
175  }
176 
177  if (value & OVER_TEMPERATURE) {
178  LOG(warning) << errorMessage << "over temperature";
179  // throw JointErrorException(errorMessage + "got over temperature");
180  }
181 
182  if (value & MOTOR_HALTED) {
183  LOG(info) << errorMessage << "is halted";
184  // throw JointErrorException(errorMessage + "is halted");
185  }
186 
187  if (value & HALL_SENSOR_ERROR) {
188  LOG(warning) << errorMessage << "hall sensor problem";
189  // throw JointErrorException(errorMessage + "got hall sensor problem");
190  }
191 
192 // if (value & PWM_MODE_ACTIVE) {
193 // LOG(info) << errorMessage << "PWM mode active";
194  // throw JointErrorException(errorMessage + "the cycle time is violated");
195 // }
196 
197  if (value & VELOCITY_MODE) {
198  LOG(info) << errorMessage << "velocity mode active";
199  // throw JointErrorException(errorMessage + "need to initialize the sinus commutation");
200  }
201 
202  if (value & POSITION_MODE) {
203  LOG(info) << errorMessage << "position mode active";
204  // throw JointErrorException(errorMessage + "need to initialize the sinus commutation");
205  }
206 
207  if (value & TORQUE_MODE) {
208  LOG(info) << errorMessage << "torque mode active";
209  // throw JointErrorException(errorMessage + "need to initialize the sinus commutation");
210  }
211 
212  if (value & POSITION_REACHED) {
213  LOG(info) << errorMessage << "position reached";
214  // throw JointErrorException(errorMessage + "need to initialize the sinus commutation");
215  }
216 
217  if (value & INITIALIZED) {
218  LOG(info) << errorMessage << "is initialized";
219  // throw JointErrorException(errorMessage + "need to initialize the sinus commutation");
220  }
221 
222  if (value & TIMEOUT) {
223  LOG(warning) << errorMessage << "timeout";
224  // throw JointErrorException(errorMessage + "need to initialize the sinus commutation");
225  }
226 
227  if (value & I2T_EXCEEDED) {
228  LOG(warning) << errorMessage << "I2t exceeded";
229  // throw JointErrorException(errorMessage + "need to initialize the sinus commutation");
230  }
231 
232  // Bouml preserved body end 0007EAF1
233 }
234 
236  // Bouml preserved body begin 00081771
237  this->name = "PositionError";
239  // Bouml preserved body end 00081771
240 }
241 
243  // Bouml preserved body begin 000817F1
244  // Bouml preserved body end 000817F1
245 }
246 
247 void PositionError::getParameter(quantity<plane_angle>& parameter) const {
248  // Bouml preserved body begin 00081871
249  parameter = this->value;
250  // Bouml preserved body end 00081871
251 }
252 
253 void PositionError::toString(std::string& value) {
254  // Bouml preserved body begin 0009EDF1
255  std::stringstream ss;
256  ss << this->name << ": " << this->value.value();
257  value = ss.str();
258  // Bouml preserved body end 0009EDF1
259 }
260 
262  // Bouml preserved body begin 00081971
263  message.stctOutput.commandNumber = msgType;
264  message.stctOutput.moduleAddress = DRIVE;
265  message.stctOutput.typeNumber = 226; //PositionError
266 // message.stctOutput.value = value;
267  // Bouml preserved body end 00081971
268 }
269 
271  // Bouml preserved body begin 000819F1
272  double temp = (int)message.stctInput.value;
273  value = (temp / storage.encoderTicksPerRound) * storage.gearRatio * (2.0 * M_PI) * radian;
274  // Bouml preserved body end 000819F1
275 }
276 
278  // Bouml preserved body begin 00081B71
279  this->name = "PositionErrorSum";
281  // Bouml preserved body end 00081B71
282 }
283 
285  // Bouml preserved body begin 00081BF1
286  // Bouml preserved body end 00081BF1
287 }
288 
289 void PositionErrorSum::getParameter(quantity<plane_angle>& parameter) const {
290  // Bouml preserved body begin 00081C71
291  parameter = this->value;
292  // Bouml preserved body end 00081C71
293 }
294 
295 void PositionErrorSum::toString(std::string& value) {
296  // Bouml preserved body begin 0009EE71
297  std::stringstream ss;
298  ss << this->name << ": " << this->value.value();
299  value = ss.str();
300  // Bouml preserved body end 0009EE71
301 }
302 
304  // Bouml preserved body begin 00081D71
305 
306  message.stctOutput.commandNumber = msgType;
307  message.stctOutput.moduleAddress = DRIVE;
308  message.stctOutput.typeNumber = 227; //PositionErrorSum
309  // message.stctOutput.value = value;
310 
311  // Bouml preserved body end 00081D71
312 }
313 
315  // Bouml preserved body begin 00081DF1
316  double temp = (int)message.stctInput.value;
317  value = (temp / storage.encoderTicksPerRound) * storage.gearRatio * (2.0 * M_PI) * radian;
318  // Bouml preserved body end 00081DF1
319 }
320 
322  // Bouml preserved body begin 00081F71
323  this->name = "VelocityError";
325  // Bouml preserved body end 00081F71
326 }
327 
329  // Bouml preserved body begin 00081FF1
330  // Bouml preserved body end 00081FF1
331 }
332 
333 void VelocityError::getParameter(quantity<si::angular_velocity>& parameter) const {
334  // Bouml preserved body begin 00082071
335  parameter = this->value;
336  // Bouml preserved body end 00082071
337 }
338 
339 void VelocityError::toString(std::string& value) {
340  // Bouml preserved body begin 0009EEF1
341  std::stringstream ss;
342  ss << this->name << ": " << this->value.value();
343  value = ss.str();
344  // Bouml preserved body end 0009EEF1
345 }
346 
348  // Bouml preserved body begin 00082171
349 
350  message.stctOutput.commandNumber = msgType;
351  message.stctOutput.moduleAddress = DRIVE;
352  message.stctOutput.typeNumber = 228; //VelocityError
353  // message.stctOutput.value = value;
354 
355  // Bouml preserved body end 00082171
356 }
357 
359  // Bouml preserved body begin 000821F1
360  double temp = (int)message.stctInput.value;
361  this->value = ((temp / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second;
362  // Bouml preserved body end 000821F1
363 }
364 
366  // Bouml preserved body begin 00082371
367  this->name = "VelocityErrorSum";
369  // Bouml preserved body end 00082371
370 }
371 
373  // Bouml preserved body begin 000823F1
374  // Bouml preserved body end 000823F1
375 }
376 
377 void VelocityErrorSum::getParameter(quantity<si::angular_velocity>& parameter) const {
378  // Bouml preserved body begin 00082471
379  parameter = this->value;
380  // Bouml preserved body end 00082471
381 }
382 
383 void VelocityErrorSum::toString(std::string& value) {
384  // Bouml preserved body begin 0009EF71
385  std::stringstream ss;
386  ss << this->name << ": " << this->value.value();
387  value = ss.str();
388  // Bouml preserved body end 0009EF71
389 }
390 
392  // Bouml preserved body begin 00082571
393 
394  message.stctOutput.commandNumber = msgType;
395  message.stctOutput.moduleAddress = DRIVE;
396  message.stctOutput.typeNumber = 229; //VelocityErrorSum
397  // message.stctOutput.value = value;
398 
399  // Bouml preserved body end 00082571
400 }
401 
403  // Bouml preserved body begin 000825F1
404  double temp = (int32)message.stctInput.value;
405  this->value = ((temp / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second;
406 
407  // Bouml preserved body end 000825F1
408 }
409 
411  // Bouml preserved body begin 000DAEF1
412  this->name = "CurrentError";
414  // Bouml preserved body end 000DAEF1
415 }
416 
418  // Bouml preserved body begin 000DAF71
419  // Bouml preserved body end 000DAF71
420 }
421 
422 void CurrentError::getParameter(quantity<si::current>& parameter) const {
423  // Bouml preserved body begin 000DAFF1
424  parameter = this->value;
425  // Bouml preserved body end 000DAFF1
426 }
427 
428 void CurrentError::toString(std::string& value) {
429  // Bouml preserved body begin 000DB071
430  std::stringstream ss;
431  ss << this->name << ": " << this->value.value();
432  value = ss.str();
433  // Bouml preserved body end 000DB071
434 }
435 
437  // Bouml preserved body begin 000DB0F1
438  message.stctOutput.commandNumber = msgType;
439  message.stctOutput.moduleAddress = DRIVE;
440  message.stctOutput.typeNumber = 200; //CurrentError
441  // message.stctOutput.value = value;
442 
443  // Bouml preserved body end 000DB0F1
444 }
445 
447  // Bouml preserved body begin 000DB171
448  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
449  double temp = (int)message.stctInput.value;
450  this->value = temp /1000.0 * ampere; //convert from milli A to A
451  }
452  // Bouml preserved body end 000DB171
453 }
454 
456  // Bouml preserved body begin 000DB2F1
457  this->name = "CurrentErrorSum";
459  // Bouml preserved body end 000DB2F1
460 }
461 
463  // Bouml preserved body begin 000DB371
464  // Bouml preserved body end 000DB371
465 }
466 
467 void CurrentErrorSum::getParameter(quantity<si::current>& parameter) const {
468  // Bouml preserved body begin 000DB3F1
469  parameter = this->value;
470  // Bouml preserved body end 000DB3F1
471 }
472 
473 void CurrentErrorSum::toString(std::string& value) {
474  // Bouml preserved body begin 000DB471
475  std::stringstream ss;
476  ss << this->name << ": " << this->value.value();
477  value = ss.str();
478  // Bouml preserved body end 000DB471
479 }
480 
482  // Bouml preserved body begin 000DB4F1
483  message.stctOutput.commandNumber = msgType;
484  message.stctOutput.moduleAddress = DRIVE;
485  message.stctOutput.typeNumber = 201; //CurrentErrorSum
486  // message.stctOutput.value = value;
487 
488  // Bouml preserved body end 000DB4F1
489 }
490 
492  // Bouml preserved body begin 000DB571
493  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
494  double temp = (int)message.stctInput.value;
495  this->value = temp /1000.0 * ampere; //convert from milli A to A
496  }
497  // Bouml preserved body end 000DB571
498 }
499 
501  // Bouml preserved body begin 0009F271
502  this->name = "RampGeneratorSpeed";
504  // Bouml preserved body end 0009F271
505 }
506 
508  // Bouml preserved body begin 0009F2F1
509  // Bouml preserved body end 0009F2F1
510 }
511 
512 void RampGeneratorSpeed::getParameter(quantity<si::angular_velocity>& parameter) const {
513  // Bouml preserved body begin 0009F371
514  parameter = this->value;
515  // Bouml preserved body end 0009F371
516 }
517 
518 void RampGeneratorSpeed::toString(std::string& value) {
519  // Bouml preserved body begin 0009F3F1
520  std::stringstream ss;
521  ss << this->name << ": " << this->value.value();
522  value = ss.str();
523  // Bouml preserved body end 0009F3F1
524 }
525 
527  // Bouml preserved body begin 0009F471
528 
529  message.stctOutput.commandNumber = msgType;
530  message.stctOutput.moduleAddress = DRIVE;
531  message.stctOutput.typeNumber = 13; //RampGeneratorSpeed
532  // message.stctOutput.value = value;
533 
534  // Bouml preserved body end 0009F471
535 }
536 
538  // Bouml preserved body begin 0009F4F1
539  double temp = (int)message.stctInput.value;
540  this->value = ((temp / 60.0) * storage.gearRatio * 2.0 * M_PI) * radian_per_second;
541  // Bouml preserved body end 0009F4F1
542 }
543 
545  // Bouml preserved body begin 000A0CF1
546  this->name = "I2tSum";
547  this->lowerLimit = 0;
548  this->upperLimit = INT_MAX;
550  // Bouml preserved body end 000A0CF1
551 }
552 
554  // Bouml preserved body begin 000A0D71
555  // Bouml preserved body end 000A0D71
556 }
557 
558 void I2tSum::getParameter(unsigned int& parameter) const {
559  // Bouml preserved body begin 000A0DF1
560  parameter = this->value;
561  // Bouml preserved body end 000A0DF1
562 }
563 
564 void I2tSum::setParameter(const unsigned int parameter) {
565  // Bouml preserved body begin 000A0E71
566  if (this->lowerLimit > parameter) {
567  throw std::out_of_range("The parameter exceeds the lower limit");
568  }
569  if (this->upperLimit < parameter) {
570  throw std::out_of_range("The parameter exceeds the upper limit");
571  }
572  this->value = parameter;
573  // Bouml preserved body end 000A0E71
574 }
575 
576 void I2tSum::toString(std::string& value) {
577  // Bouml preserved body begin 000A0EF1
578  std::stringstream ss;
579  ss << this->name << ": " << this->value;
580  value = ss.str();
581  // Bouml preserved body end 000A0EF1
582 }
583 
585  // Bouml preserved body begin 000A0F71
586  message.stctOutput.commandNumber = msgType;
587  message.stctOutput.moduleAddress = DRIVE;
588  message.stctOutput.typeNumber = 27; //I2tSum
589  message.stctOutput.value = value;
590  // Bouml preserved body end 000A0F71
591 }
592 
594  // Bouml preserved body begin 000A0FF1
595  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
596  this->value = message.stctInput.value;
597  }
598  // Bouml preserved body end 000A0FF1
599 }
600 
602  // Bouml preserved body begin 000CB071
603  this->name = "ActualMotorDriverTemperature";
605  // Bouml preserved body end 000CB071
606 }
607 
609  // Bouml preserved body begin 000CB0F1
610  // Bouml preserved body end 000CB0F1
611 }
612 
613 void ActualMotorDriverTemperature::getParameter(quantity<celsius::temperature>& parameter) const {
614  // Bouml preserved body begin 000CB171
615  parameter = this->value;
616  // Bouml preserved body end 000CB171
617 }
618 
619 void ActualMotorDriverTemperature::toString(std::string& value) {
620  // Bouml preserved body begin 000CB1F1
621  std::stringstream ss;
622  ss << this->name << ": " << this->value.value();
623  value = ss.str();
624  // Bouml preserved body end 000CB1F1
625 }
626 
628  // Bouml preserved body begin 000CB271
629  message.stctOutput.commandNumber = msgType;
630  message.stctOutput.moduleAddress = DRIVE;
631  message.stctOutput.typeNumber = 152; //ActualMotorDriverTemperature
632  // message.stctOutput.value = value;
633 
634  // Bouml preserved body end 000CB271
635 }
636 
638  // Bouml preserved body begin 000CB2F1
639  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
640  double materialConstant = 3434;
641  double R_NTC = ((double)9011.2/message.stctInput.value) - 2.2;
642  double nominator = materialConstant * 298.16;
643  double denominator = materialConstant + (log(R_NTC/10.0) * 298.16);
644  this->value = ((nominator/denominator) - 273.16) * celsius::degree;
645  }
646  // Bouml preserved body end 000CB2F1
647 }
648 
650  // Bouml preserved body begin 000CB471
651  this->name = "ActualModuleSupplyCurrent";
653  // Bouml preserved body end 000CB471
654 }
655 
657  // Bouml preserved body begin 000CB4F1
658  // Bouml preserved body end 000CB4F1
659 }
660 
661 void ActualModuleSupplyCurrent::getParameter(quantity<si::current>& parameter) const {
662  // Bouml preserved body begin 000CB571
663  parameter = this->value;
664  // Bouml preserved body end 000CB571
665 }
666 
667 void ActualModuleSupplyCurrent::toString(std::string& value) {
668  // Bouml preserved body begin 000CB5F1
669  std::stringstream ss;
670  ss << this->name << ": " << this->value.value();
671  value = ss.str();
672  // Bouml preserved body end 000CB5F1
673 }
674 
676  // Bouml preserved body begin 000CB671
677  message.stctOutput.commandNumber = msgType;
678  message.stctOutput.moduleAddress = DRIVE;
679  message.stctOutput.typeNumber = 157; //ActualModuleSupplyCurrent
680  // message.stctOutput.value = value;
681 
682  // Bouml preserved body end 000CB671
683 }
684 
686  // Bouml preserved body begin 000CB6F1
687  if (message.stctOutput.commandNumber == message.stctInput.commandNumber && message.stctInput.status == MAILBOX_SUCCESS) {
688  this->value = (double)message.stctInput.value /1000.0 * ampere; //convert from milli A to A
689  }
690  // Bouml preserved body end 000CB6F1
691 }
692 
693 
694 } // namespace youbot
void getParameter(quantity< electric_potential > &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void toString(std::string &value)
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 setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void setParameter(const unsigned int parameter)
void toString(std::string &value)
void getParameter(unsigned int &parameter) const
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 setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void toString(std::string &value)
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
#define LOG(level)
Definition: Logger.hpp:102
void getParameter(quantity< si::angular_velocity > &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)
int32_t int32
Definition: osal.h:32
EtherCAT mailbox message of the youBot slaves.
void getParameter(quantity< si::current > &parameter) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(quantity< si::current > &parameter) const
void toString(std::string &value)
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getParameter(quantity< si::angular_velocity > &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
void getParameter(quantity< plane_angle > &parameter) const
void getParameter(quantity< plane_angle > &parameter) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getYouBotMailboxMsg(YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void getParameter(quantity< si::current > &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
Stores YouBotJoint informations which are needed in the driver.
void getParameter(unsigned int &parameter) const
void getParameter(quantity< celsius::temperature > &parameter) const
void getParameter(quantity< si::angular_velocity > &parameter) const
void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)


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