gusimplewhiteboard
SENSORSTorsoJointTemps.hpp
Go to the documentation of this file.
1/*
2 * file SENSORSTorsoJointTemps.hpp
3 *
4 * This file was generated by classgenerator from SENSORS_TorsoJointTemps.txt.
5 * DO NOT CHANGE MANUALLY!
6 *
7 * Copyright © 2021 Carl Lusty. All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:
12 *
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 *
16 * 2. Redistributions in binary form must reproduce the above
17 * copyright notice, this list of conditions and the following
18 * disclaimer in the documentation and/or other materials
19 * provided with the distribution.
20 *
21 * 3. All advertising materials mentioning features or use of this
22 * software must display the following acknowledgement:
23 *
24 * This product includes software developed by Carl Lusty.
25 *
26 * 4. Neither the name of the author nor the names of contributors
27 * may be used to endorse or promote products derived from this
28 * software without specific prior written permission.
29 *
30 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
31 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
32 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
33 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
34 * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
35 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
36 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
37 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
38 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
39 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
40 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 *
42 * -----------------------------------------------------------------------
43 * This program is free software; you can redistribute it and/or
44 * modify it under the above terms or under the terms of the GNU
45 * General Public License as published by the Free Software Foundation;
46 * either version 2 of the License, or (at your option) any later version.
47 *
48 * This program is distributed in the hope that it will be useful,
49 * but WITHOUT ANY WARRANTY; without even the implied warranty of
50 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51 * GNU General Public License for more details.
52 *
53 * You should have received a copy of the GNU General Public License
54 * along with this program; if not, see http://www.gnu.org/licenses/
55 * or write to the Free Software Foundation, Inc., 51 Franklin Street,
56 * Fifth Floor, Boston, MA 02110-1301, USA.
57 *
58 */
59
60#ifndef guWhiteboard_SENSORSTorsoJointTemps_h
61#define guWhiteboard_SENSORSTorsoJointTemps_h
62
63#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
64#include <cstdlib>
65#include <string.h>
66#include <sstream>
67#endif
68
69#include <gu_util.h>
71#include <float.h>
72
73#undef guWhiteboard_SENSORSTorsoJointTemps_DEFINED
74#define guWhiteboard_SENSORSTorsoJointTemps_DEFINED
75
76#undef SENSORSTorsoJointTemps_DEFINED
77#define SENSORSTorsoJointTemps_DEFINED
78
79namespace guWhiteboard {
80
85
86 private:
87
91 void init(float t_HeadYaw = 0.0f, float t_HeadPitch = 0.0f, float t_LShoulderPitch = 0.0f, float t_LShoulderRoll = 0.0f, float t_LElbowYaw = 0.0f, float t_LElbowRoll = 0.0f, float t_LHipYawPitch = 0.0f, float t_LHipRoll = 0.0f, float t_LHipPitch = 0.0f, float t_RHipRoll = 0.0f, float t_RHipPitch = 0.0f, float t_RShoulderPitch = 0.0f, float t_RShoulderRoll = 0.0f, float t_RElbowYaw = 0.0f, float t_RElbowRoll = 0.0f) {
92 set_HeadYaw(t_HeadYaw);
93 set_HeadPitch(t_HeadPitch);
94 set_LShoulderPitch(t_LShoulderPitch);
95 set_LShoulderRoll(t_LShoulderRoll);
96 set_LElbowYaw(t_LElbowYaw);
97 set_LElbowRoll(t_LElbowRoll);
98 set_LHipYawPitch(t_LHipYawPitch);
99 set_LHipRoll(t_LHipRoll);
100 set_LHipPitch(t_LHipPitch);
101 set_RHipRoll(t_RHipRoll);
102 set_RHipPitch(t_RHipPitch);
103 set_RShoulderPitch(t_RShoulderPitch);
104 set_RShoulderRoll(t_RShoulderRoll);
105 set_RElbowYaw(t_RElbowYaw);
106 set_RElbowRoll(t_RElbowRoll);
107 }
108
109 public:
110
114 SENSORSTorsoJointTemps(float t_HeadYaw = 0.0f, float t_HeadPitch = 0.0f, float t_LShoulderPitch = 0.0f, float t_LShoulderRoll = 0.0f, float t_LElbowYaw = 0.0f, float t_LElbowRoll = 0.0f, float t_LHipYawPitch = 0.0f, float t_LHipRoll = 0.0f, float t_LHipPitch = 0.0f, float t_RHipRoll = 0.0f, float t_RHipPitch = 0.0f, float t_RShoulderPitch = 0.0f, float t_RShoulderRoll = 0.0f, float t_RElbowYaw = 0.0f, float t_RElbowRoll = 0.0f) {
115 this->init(t_HeadYaw, t_HeadPitch, t_LShoulderPitch, t_LShoulderRoll, t_LElbowYaw, t_LElbowRoll, t_LHipYawPitch, t_LHipRoll, t_LHipPitch, t_RHipRoll, t_RHipPitch, t_RShoulderPitch, t_RShoulderRoll, t_RElbowYaw, t_RElbowRoll);
116 }
117
122 this->init(t_other.HeadYaw(), t_other.HeadPitch(), t_other.LShoulderPitch(), t_other.LShoulderRoll(), t_other.LElbowYaw(), t_other.LElbowRoll(), t_other.LHipYawPitch(), t_other.LHipRoll(), t_other.LHipPitch(), t_other.RHipRoll(), t_other.RHipPitch(), t_other.RShoulderPitch(), t_other.RShoulderRoll(), t_other.RElbowYaw(), t_other.RElbowRoll());
123 }
124
129 this->init(t_other.HeadYaw, t_other.HeadPitch, t_other.LShoulderPitch, t_other.LShoulderRoll, t_other.LElbowYaw, t_other.LElbowRoll, t_other.LHipYawPitch, t_other.LHipRoll, t_other.LHipPitch, t_other.RHipRoll, t_other.RHipPitch, t_other.RShoulderPitch, t_other.RShoulderRoll, t_other.RElbowYaw, t_other.RElbowRoll);
130 }
131
136 this->init(t_other.HeadYaw(), t_other.HeadPitch(), t_other.LShoulderPitch(), t_other.LShoulderRoll(), t_other.LElbowYaw(), t_other.LElbowRoll(), t_other.LHipYawPitch(), t_other.LHipRoll(), t_other.LHipPitch(), t_other.RHipRoll(), t_other.RHipPitch(), t_other.RShoulderPitch(), t_other.RShoulderRoll(), t_other.RElbowYaw(), t_other.RElbowRoll());
137 return *this;
138 }
139
144 this->init(t_other.HeadYaw, t_other.HeadPitch, t_other.LShoulderPitch, t_other.LShoulderRoll, t_other.LElbowYaw, t_other.LElbowRoll, t_other.LHipYawPitch, t_other.LHipRoll, t_other.LHipPitch, t_other.RHipRoll, t_other.RHipPitch, t_other.RShoulderPitch, t_other.RShoulderRoll, t_other.RElbowYaw, t_other.RElbowRoll);
145 return *this;
146 }
147
148 bool operator ==(const SENSORSTorsoJointTemps &t_other) const
149 {
150 return fabsf(HeadYaw() - t_other.HeadYaw()) < FLT_EPSILON
151 && fabsf(HeadPitch() - t_other.HeadPitch()) < FLT_EPSILON
152 && fabsf(LShoulderPitch() - t_other.LShoulderPitch()) < FLT_EPSILON
153 && fabsf(LShoulderRoll() - t_other.LShoulderRoll()) < FLT_EPSILON
154 && fabsf(LElbowYaw() - t_other.LElbowYaw()) < FLT_EPSILON
155 && fabsf(LElbowRoll() - t_other.LElbowRoll()) < FLT_EPSILON
156 && fabsf(LHipYawPitch() - t_other.LHipYawPitch()) < FLT_EPSILON
157 && fabsf(LHipRoll() - t_other.LHipRoll()) < FLT_EPSILON
158 && fabsf(LHipPitch() - t_other.LHipPitch()) < FLT_EPSILON
159 && fabsf(RHipRoll() - t_other.RHipRoll()) < FLT_EPSILON
160 && fabsf(RHipPitch() - t_other.RHipPitch()) < FLT_EPSILON
161 && fabsf(RShoulderPitch() - t_other.RShoulderPitch()) < FLT_EPSILON
162 && fabsf(RShoulderRoll() - t_other.RShoulderRoll()) < FLT_EPSILON
163 && fabsf(RElbowYaw() - t_other.RElbowYaw()) < FLT_EPSILON
164 && fabsf(RElbowRoll() - t_other.RElbowRoll()) < FLT_EPSILON;
165 }
166
167 bool operator !=(const SENSORSTorsoJointTemps &t_other) const
168 {
169 return !(*this == t_other);
170 }
171
172 bool operator ==(const wb_sensors_torsojointtemps &t_other) const
173 {
174 return *this == SENSORSTorsoJointTemps(t_other);
175 }
176
177 bool operator !=(const wb_sensors_torsojointtemps &t_other) const
178 {
179 return !(*this == t_other);
180 }
181
182 float & HeadYaw()
183 {
185 }
186
187 const float & HeadYaw() const
188 {
190 }
191
192 void set_HeadYaw(const float &t_newValue)
193 {
195 }
196
197 float & HeadPitch()
198 {
200 }
201
202 const float & HeadPitch() const
203 {
205 }
206
207 void set_HeadPitch(const float &t_newValue)
208 {
210 }
211
213 {
215 }
216
217 const float & LShoulderPitch() const
218 {
220 }
221
222 void set_LShoulderPitch(const float &t_newValue)
223 {
225 }
226
228 {
230 }
231
232 const float & LShoulderRoll() const
233 {
235 }
236
237 void set_LShoulderRoll(const float &t_newValue)
238 {
240 }
241
242 float & LElbowYaw()
243 {
245 }
246
247 const float & LElbowYaw() const
248 {
250 }
251
252 void set_LElbowYaw(const float &t_newValue)
253 {
255 }
256
257 float & LElbowRoll()
258 {
260 }
261
262 const float & LElbowRoll() const
263 {
265 }
266
267 void set_LElbowRoll(const float &t_newValue)
268 {
270 }
271
272 float & LHipYawPitch()
273 {
275 }
276
277 const float & LHipYawPitch() const
278 {
280 }
281
282 void set_LHipYawPitch(const float &t_newValue)
283 {
285 }
286
287 float & LHipRoll()
288 {
290 }
291
292 const float & LHipRoll() const
293 {
295 }
296
297 void set_LHipRoll(const float &t_newValue)
298 {
300 }
301
302 float & LHipPitch()
303 {
305 }
306
307 const float & LHipPitch() const
308 {
310 }
311
312 void set_LHipPitch(const float &t_newValue)
313 {
315 }
316
317 float & RHipRoll()
318 {
320 }
321
322 const float & RHipRoll() const
323 {
325 }
326
327 void set_RHipRoll(const float &t_newValue)
328 {
330 }
331
332 float & RHipPitch()
333 {
335 }
336
337 const float & RHipPitch() const
338 {
340 }
341
342 void set_RHipPitch(const float &t_newValue)
343 {
345 }
346
348 {
350 }
351
352 const float & RShoulderPitch() const
353 {
355 }
356
357 void set_RShoulderPitch(const float &t_newValue)
358 {
360 }
361
363 {
365 }
366
367 const float & RShoulderRoll() const
368 {
370 }
371
372 void set_RShoulderRoll(const float &t_newValue)
373 {
375 }
376
377 float & RElbowYaw()
378 {
380 }
381
382 const float & RElbowYaw() const
383 {
385 }
386
387 void set_RElbowYaw(const float &t_newValue)
388 {
390 }
391
392 float & RElbowRoll()
393 {
395 }
396
397 const float & RElbowRoll() const
398 {
400 }
401
402 void set_RElbowRoll(const float &t_newValue)
403 {
405 }
406
407#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
411 SENSORSTorsoJointTemps(const std::string &t_str) {
412 this->init();
413 this->from_string(t_str);
414 }
415
416 std::string description() {
417#ifdef USE_WB_SENSORS_TORSOJOINTTEMPS_C_CONVERSION
419 wb_sensors_torsojointtemps_description(this, buffer, sizeof(buffer));
420 std::string descr = buffer;
421 return descr;
422#else
423 std::ostringstream ss;
424 ss << "HeadYaw=" << this->HeadYaw();
425 ss << ", ";
426 ss << "HeadPitch=" << this->HeadPitch();
427 ss << ", ";
428 ss << "LShoulderPitch=" << this->LShoulderPitch();
429 ss << ", ";
430 ss << "LShoulderRoll=" << this->LShoulderRoll();
431 ss << ", ";
432 ss << "LElbowYaw=" << this->LElbowYaw();
433 ss << ", ";
434 ss << "LElbowRoll=" << this->LElbowRoll();
435 ss << ", ";
436 ss << "LHipYawPitch=" << this->LHipYawPitch();
437 ss << ", ";
438 ss << "LHipRoll=" << this->LHipRoll();
439 ss << ", ";
440 ss << "LHipPitch=" << this->LHipPitch();
441 ss << ", ";
442 ss << "RHipRoll=" << this->RHipRoll();
443 ss << ", ";
444 ss << "RHipPitch=" << this->RHipPitch();
445 ss << ", ";
446 ss << "RShoulderPitch=" << this->RShoulderPitch();
447 ss << ", ";
448 ss << "RShoulderRoll=" << this->RShoulderRoll();
449 ss << ", ";
450 ss << "RElbowYaw=" << this->RElbowYaw();
451 ss << ", ";
452 ss << "RElbowRoll=" << this->RElbowRoll();
453 return ss.str();
454#endif
455 }
456
457 std::string to_string() {
458#ifdef USE_WB_SENSORS_TORSOJOINTTEMPS_C_CONVERSION
460 wb_sensors_torsojointtemps_to_string(this, buffer, sizeof(buffer));
461 std::string toString = buffer;
462 return toString;
463#else
464 std::ostringstream ss;
465 ss << this->HeadYaw();
466 ss << ", ";
467 ss << this->HeadPitch();
468 ss << ", ";
469 ss << this->LShoulderPitch();
470 ss << ", ";
471 ss << this->LShoulderRoll();
472 ss << ", ";
473 ss << this->LElbowYaw();
474 ss << ", ";
475 ss << this->LElbowRoll();
476 ss << ", ";
477 ss << this->LHipYawPitch();
478 ss << ", ";
479 ss << this->LHipRoll();
480 ss << ", ";
481 ss << this->LHipPitch();
482 ss << ", ";
483 ss << this->RHipRoll();
484 ss << ", ";
485 ss << this->RHipPitch();
486 ss << ", ";
487 ss << this->RShoulderPitch();
488 ss << ", ";
489 ss << this->RShoulderRoll();
490 ss << ", ";
491 ss << this->RElbowYaw();
492 ss << ", ";
493 ss << this->RElbowRoll();
494 return ss.str();
495#endif
496 }
497
498#ifdef USE_WB_SENSORS_TORSOJOINTTEMPS_C_CONVERSION
499 void from_string(const std::string &t_str) {
500 wb_sensors_torsojointtemps_from_string(this, t_str.c_str());
501#else
502 void from_string(const std::string &t_str) {
503 char * str_cstr = const_cast<char *>(t_str.c_str());
504 size_t temp_length = strlen(str_cstr);
505 int length = (temp_length <= INT_MAX) ? static_cast<int>(static_cast<ssize_t>(temp_length)) : -1;
506 if (length < 1 || length > SENSORS_TORSOJOINTTEMPS_DESC_BUFFER_SIZE) {
507 return;
508 }
509 char var_str_buffer[SENSORS_TORSOJOINTTEMPS_DESC_BUFFER_SIZE + 1];
510 char* var_str = &var_str_buffer[0];
511 char key_buffer[15];
512 char* key = &key_buffer[0];
513 int bracecount = 0;
514 int startVar = 0;
515 int index = 0;
516 int startKey = 0;
517 int endKey = -1;
518 int varIndex = 0;
519 if (index == 0 && str_cstr[0] == '{') {
520 index = 1;
521 }
522 startVar = index;
523 startKey = startVar;
524 do {
525 for (int i = index; i < length; i++) {
526 index = i + 1;
527 if (bracecount == 0 && str_cstr[i] == '=') {
528 endKey = i - 1;
529 startVar = index;
530 continue;
531 }
532 if (bracecount == 0 && isspace(str_cstr[i])) {
533 startVar = index;
534 if (endKey == -1) {
535 startKey = index;
536 }
537 continue;
538 }
539 if (bracecount == 0 && str_cstr[i] == ',') {
540 index = i - 1;
541 break;
542 }
543 if (str_cstr[i] == '{') {
544 bracecount++;
545 continue;
546 }
547 if (str_cstr[i] == '}') {
548 bracecount--;
549 if (bracecount < 0) {
550 index = i - 1;
551 break;
552 }
553 }
554 if (i == length - 1) {
555 index = i;
556 }
557 }
558 if (endKey >= startKey && endKey - startKey < length) {
559 strncpy(key, str_cstr + startKey, static_cast<size_t>((endKey - startKey) + 1));
560 key[(endKey - startKey) + 1] = 0;
561 } else {
562 key[0] = 0;
563 }
564 strncpy(var_str, str_cstr + startVar, static_cast<size_t>((index - startVar) + 1));
565 var_str[(index - startVar) + 1] = 0;
566 bracecount = 0;
567 index += 2;
568 startVar = index;
569 startKey = startVar;
570 endKey = -1;
571 if (strlen(key) > 0) {
572 if (0 == strcmp("HeadYaw", key)) {
573 varIndex = 0;
574 } else if (0 == strcmp("HeadPitch", key)) {
575 varIndex = 1;
576 } else if (0 == strcmp("LShoulderPitch", key)) {
577 varIndex = 2;
578 } else if (0 == strcmp("LShoulderRoll", key)) {
579 varIndex = 3;
580 } else if (0 == strcmp("LElbowYaw", key)) {
581 varIndex = 4;
582 } else if (0 == strcmp("LElbowRoll", key)) {
583 varIndex = 5;
584 } else if (0 == strcmp("LHipYawPitch", key)) {
585 varIndex = 6;
586 } else if (0 == strcmp("LHipRoll", key)) {
587 varIndex = 7;
588 } else if (0 == strcmp("LHipPitch", key)) {
589 varIndex = 8;
590 } else if (0 == strcmp("RHipRoll", key)) {
591 varIndex = 9;
592 } else if (0 == strcmp("RHipPitch", key)) {
593 varIndex = 10;
594 } else if (0 == strcmp("RShoulderPitch", key)) {
595 varIndex = 11;
596 } else if (0 == strcmp("RShoulderRoll", key)) {
597 varIndex = 12;
598 } else if (0 == strcmp("RElbowYaw", key)) {
599 varIndex = 13;
600 } else if (0 == strcmp("RElbowRoll", key)) {
601 varIndex = 14;
602 } else {
603 varIndex = -1;
604 }
605 }
606 switch (varIndex) {
607 case -1: { break; }
608 case 0:
609 {
610 this->set_HeadYaw(static_cast<float>(atof(var_str)));
611 break;
612 }
613 case 1:
614 {
615 this->set_HeadPitch(static_cast<float>(atof(var_str)));
616 break;
617 }
618 case 2:
619 {
620 this->set_LShoulderPitch(static_cast<float>(atof(var_str)));
621 break;
622 }
623 case 3:
624 {
625 this->set_LShoulderRoll(static_cast<float>(atof(var_str)));
626 break;
627 }
628 case 4:
629 {
630 this->set_LElbowYaw(static_cast<float>(atof(var_str)));
631 break;
632 }
633 case 5:
634 {
635 this->set_LElbowRoll(static_cast<float>(atof(var_str)));
636 break;
637 }
638 case 6:
639 {
640 this->set_LHipYawPitch(static_cast<float>(atof(var_str)));
641 break;
642 }
643 case 7:
644 {
645 this->set_LHipRoll(static_cast<float>(atof(var_str)));
646 break;
647 }
648 case 8:
649 {
650 this->set_LHipPitch(static_cast<float>(atof(var_str)));
651 break;
652 }
653 case 9:
654 {
655 this->set_RHipRoll(static_cast<float>(atof(var_str)));
656 break;
657 }
658 case 10:
659 {
660 this->set_RHipPitch(static_cast<float>(atof(var_str)));
661 break;
662 }
663 case 11:
664 {
665 this->set_RShoulderPitch(static_cast<float>(atof(var_str)));
666 break;
667 }
668 case 12:
669 {
670 this->set_RShoulderRoll(static_cast<float>(atof(var_str)));
671 break;
672 }
673 case 13:
674 {
675 this->set_RElbowYaw(static_cast<float>(atof(var_str)));
676 break;
677 }
678 case 14:
679 {
680 this->set_RElbowRoll(static_cast<float>(atof(var_str)));
681 break;
682 }
683 }
684 if (varIndex >= 0) {
685 varIndex++;
686 }
687 } while(index < length);
688#endif
689 }
690#endif
691 };
692
693}
694
695#endif
Provides a C++ wrapper around wb_sensors_torsojointtemps.
SENSORSTorsoJointTemps(float t_HeadYaw=0.0f, float t_HeadPitch=0.0f, float t_LShoulderPitch=0.0f, float t_LShoulderRoll=0.0f, float t_LElbowYaw=0.0f, float t_LElbowRoll=0.0f, float t_LHipYawPitch=0.0f, float t_LHipRoll=0.0f, float t_LHipPitch=0.0f, float t_RHipRoll=0.0f, float t_RHipPitch=0.0f, float t_RShoulderPitch=0.0f, float t_RShoulderRoll=0.0f, float t_RElbowYaw=0.0f, float t_RElbowRoll=0.0f)
Create a new SENSORSTorsoJointTemps.
void set_RElbowRoll(const float &t_newValue)
void set_HeadPitch(const float &t_newValue)
bool operator!=(const SENSORSTorsoJointTemps &t_other) const
void set_RShoulderRoll(const float &t_newValue)
SENSORSTorsoJointTemps(const std::string &t_str)
String Constructor.
SENSORSTorsoJointTemps & operator=(const SENSORSTorsoJointTemps &t_other)
Copy Assignment Operator.
SENSORSTorsoJointTemps(const SENSORSTorsoJointTemps &t_other)
Copy Constructor.
bool operator==(const SENSORSTorsoJointTemps &t_other) const
void set_RHipRoll(const float &t_newValue)
void set_LHipRoll(const float &t_newValue)
void set_LShoulderRoll(const float &t_newValue)
void set_RShoulderPitch(const float &t_newValue)
void set_LHipYawPitch(const float &t_newValue)
void set_LShoulderPitch(const float &t_newValue)
void set_HeadYaw(const float &t_newValue)
void from_string(const std::string &t_str)
void set_RElbowYaw(const float &t_newValue)
void set_RHipPitch(const float &t_newValue)
void set_LElbowRoll(const float &t_newValue)
void set_LElbowYaw(const float &t_newValue)
SENSORSTorsoJointTemps(const struct wb_sensors_torsojointtemps &t_other)
Copy Constructor.
void set_LHipPitch(const float &t_newValue)
/file APM_Interface.h
WHITEBOARD_POSTER_STRING_CONVERSION.
struct wb_sensors_torsojointtemps * wb_sensors_torsojointtemps_from_string(struct wb_sensors_torsojointtemps *self, const char *str)
Convert from a string.
const char * wb_sensors_torsojointtemps_to_string(const struct wb_sensors_torsojointtemps *self, char *toString, size_t bufferSize)
Convert to a string.
const char * wb_sensors_torsojointtemps_description(const struct wb_sensors_torsojointtemps *self, char *descString, size_t bufferSize)
Convert to a description string.
#define SENSORS_TORSOJOINTTEMPS_TO_STRING_BUFFER_SIZE
#define SENSORS_TORSOJOINTTEMPS_DESC_BUFFER_SIZE