3 #ifndef FLATBUFFERS_GENERATED_KUKAIIWA_GRL_FLATBUFFER_H_ 4 #define FLATBUFFERS_GENERATED_KUKAIIWA_GRL_FLATBUFFER_H_ 6 #include "flatbuffers/flatbuffers.h" 15 namespace flatbuffer {
24 namespace flatbuffer {
29 namespace flatbuffer {
34 namespace flatbuffer {
38 struct EulerTranslationParams;
39 struct EulerRotationParams;
40 struct EulerPoseParams;
44 namespace flatbuffer {
50 struct MoveArmTrajectory;
51 struct MoveArmJointServo;
52 struct MoveArmCartesianServo;
53 struct ArmControlState;
54 struct ArmControlSeries;
59 namespace flatbuffer {
61 struct CartesianImpedenceControlMode;
62 struct JointImpedenceControlMode;
67 struct KUKAiiwaArmConfiguration;
68 struct KUKAiiwaMonitorConfiguration;
69 struct KUKAiiwaMonitorState;
71 struct KUKAiiwaStates;
81 static const char *names[] = {
"Disabled",
"SmartServo",
"DirectServo",
"FRI",
nullptr };
101 static const char *names[] = {
"IDLE",
"MONITORING_WAIT",
"MONITORING_READY",
"COMMANDING_WAIT",
"COMMANDING_ACTIVE",
nullptr };
115 static const char *names[] = {
"POOR",
"FAIR",
"GOOD",
"EXCELLENT",
nullptr };
129 static const char *names[] = {
"NORMAL_OPERATION",
"SAFETY_STOP_LEVEL_0",
"SAFETY_STOP_LEVEL_1",
"SAFETY_STOP_LEVEL_2",
nullptr };
142 static const char *names[] = {
"TEST_MODE_1",
"TEST_MODE_2",
"AUTOMATIC_MODE",
nullptr };
158 static const char *names[] = {
"OFF",
"TRANSITIONING",
"ACTIVE",
nullptr };
172 static const char *names[] = {
"POSITION_CONTROL_MODE",
"CART_IMP_CONTROL_MODE",
"JOINT_IMP_CONTROL_MODE",
"NO_CONTROL",
nullptr };
187 static const char *names[] = {
"NO_COMMAND_MODE",
"POSITION",
"WRENCH",
"TORQUE",
nullptr };
200 static const char *names[] = {
"NO_OVERLAY",
"JOINT",
"CARTESIAN",
nullptr };
212 const flatbuffers::Vector<double> *
maxJointSpeed()
const {
return GetPointer<const flatbuffers::Vector<double> *>(8); }
223 bool Verify(flatbuffers::Verifier &verifier)
const {
224 return VerifyTableStart(verifier) &&
225 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
226 verifier.VerifyTable(stiffness()) &&
227 VerifyField<grl::flatbuffer::EulerPose>(verifier, 6 ) &&
228 VerifyField<flatbuffers::uoffset_t>(verifier, 8 ) &&
229 verifier.Verify(maxJointSpeed()) &&
230 VerifyField<grl::flatbuffer::EulerPose>(verifier, 10 ) &&
231 VerifyField<grl::flatbuffer::EulerPose>(verifier, 12 ) &&
232 VerifyField<uint8_t>(verifier, 14 ) &&
233 VerifyField<double>(verifier, 16 ) &&
234 VerifyField<double>(verifier, 18 ) &&
240 flatbuffers::FlatBufferBuilder &
fbb_;
242 void add_stiffness(flatbuffers::Offset<grl::flatbuffer::EulerPoseParams> stiffness) { fbb_.AddOffset(4, stiffness); }
244 void add_maxJointSpeed(flatbuffers::Offset<flatbuffers::Vector<double>> maxJointSpeed) { fbb_.AddOffset(8, maxJointSpeed); }
252 flatbuffers::Offset<CartesianImpedenceControlMode>
Finish() {
253 auto o = flatbuffers::Offset<CartesianImpedenceControlMode>(fbb_.EndTable(start_, 8));
259 flatbuffers::Offset<grl::flatbuffer::EulerPoseParams> stiffness = 0,
261 flatbuffers::Offset<flatbuffers::Vector<double>> maxJointSpeed = 0,
264 uint8_t maxControlForceExceededStop = 0,
265 double nullspaceDamping = 0,
266 double nullspaceStiffness = 0) {
280 const flatbuffers::Vector<double> *
stiffness()
const {
return GetPointer<const flatbuffers::Vector<double> *>(4); }
281 const flatbuffers::Vector<double> *
damping()
const {
return GetPointer<const flatbuffers::Vector<double> *>(6); }
282 bool Verify(flatbuffers::Verifier &verifier)
const {
283 return VerifyTableStart(verifier) &&
284 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
285 verifier.Verify(stiffness()) &&
286 VerifyField<flatbuffers::uoffset_t>(verifier, 6 ) &&
287 verifier.Verify(damping()) &&
293 flatbuffers::FlatBufferBuilder &
fbb_;
295 void add_stiffness(flatbuffers::Offset<flatbuffers::Vector<double>> stiffness) { fbb_.AddOffset(4, stiffness); }
296 void add_damping(flatbuffers::Offset<flatbuffers::Vector<double>> damping) { fbb_.AddOffset(6, damping); }
299 flatbuffers::Offset<JointImpedenceControlMode>
Finish() {
300 auto o = flatbuffers::Offset<JointImpedenceControlMode>(fbb_.EndTable(start_, 2));
306 flatbuffers::Offset<flatbuffers::Vector<double>> stiffness = 0,
307 flatbuffers::Offset<flatbuffers::Vector<double>> damping = 0) {
314 struct Disabled FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
315 bool Verify(flatbuffers::Verifier &verifier)
const {
316 return VerifyTableStart(verifier) &&
322 flatbuffers::FlatBufferBuilder &
fbb_;
324 DisabledBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); }
327 auto o = flatbuffers::Offset<Disabled>(fbb_.EndTable(start_, 0));
332 inline flatbuffers::Offset<Disabled>
CreateDisabled(flatbuffers::FlatBufferBuilder &_fbb) {
337 struct FRI FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
377 bool Verify(flatbuffers::Verifier &verifier)
const {
378 return VerifyTableStart(verifier) &&
379 VerifyField<int8_t>(verifier, 4 ) &&
380 VerifyField<int32_t>(verifier, 6 ) &&
381 VerifyField<int32_t>(verifier, 8 ) &&
382 VerifyField<uint8_t>(verifier, 10 ) &&
383 VerifyField<int16_t>(verifier, 12 ) &&
384 VerifyField<uint8_t>(verifier, 14 ) &&
385 VerifyField<int16_t>(verifier, 16 ) &&
391 flatbuffers::FlatBufferBuilder &
fbb_;
397 void add_portOnRemote(int16_t portOnRemote) { fbb_.AddElement<int16_t>(12, portOnRemote, 0); }
400 FRIBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); }
403 auto o = flatbuffers::Offset<FRI>(fbb_.EndTable(start_, 7));
408 inline flatbuffers::Offset<FRI>
CreateFRI(flatbuffers::FlatBufferBuilder &_fbb,
410 int32_t sendPeriodMillisec = 4,
411 int32_t setReceiveMultiplier = 5,
412 uint8_t updatePortOnRemote = 0,
413 int16_t portOnRemote = 0,
414 uint8_t updatePortOnController = 0,
415 int16_t portOnController = 0) {
427 struct SmartServo FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
429 const flatbuffers::Vector<double> *
jointAccelerationRel()
const {
return GetPointer<const flatbuffers::Vector<double> *>(4); }
431 const flatbuffers::Vector<double> *
jointVelocityRel()
const {
return GetPointer<const flatbuffers::Vector<double> *>(6); }
434 bool Verify(flatbuffers::Verifier &verifier)
const {
435 return VerifyTableStart(verifier) &&
436 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
437 verifier.Verify(jointAccelerationRel()) &&
438 VerifyField<flatbuffers::uoffset_t>(verifier, 6 ) &&
439 verifier.Verify(jointVelocityRel()) &&
440 VerifyField<uint8_t>(verifier, 8 ) &&
441 VerifyField<double>(verifier, 10 ) &&
447 flatbuffers::FlatBufferBuilder &
fbb_;
449 void add_jointAccelerationRel(flatbuffers::Offset<flatbuffers::Vector<double>> jointAccelerationRel) { fbb_.AddOffset(4, jointAccelerationRel); }
450 void add_jointVelocityRel(flatbuffers::Offset<flatbuffers::Vector<double>> jointVelocityRel) { fbb_.AddOffset(6, jointVelocityRel); }
453 SmartServoBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); }
455 flatbuffers::Offset<SmartServo>
Finish() {
456 auto o = flatbuffers::Offset<SmartServo>(fbb_.EndTable(start_, 4));
461 inline flatbuffers::Offset<SmartServo>
CreateSmartServo(flatbuffers::FlatBufferBuilder &_fbb,
462 flatbuffers::Offset<flatbuffers::Vector<double>> jointAccelerationRel = 0,
463 flatbuffers::Offset<flatbuffers::Vector<double>> jointVelocityRel = 0,
464 uint8_t updateMinimumTrajectoryExecutionTime = 0,
465 double minimumTrajectoryExecutionTime = 0) {
478 struct ProcessData FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
479 const flatbuffers::String *
dataType()
const {
return GetPointer<const flatbuffers::String *>(4); }
480 const flatbuffers::String *
defaultValue()
const {
return GetPointer<const flatbuffers::String *>(6); }
481 const flatbuffers::String *
displayName()
const {
return GetPointer<const flatbuffers::String *>(8); }
482 const flatbuffers::String *
id()
const {
return GetPointer<const flatbuffers::String *>(10); }
483 const flatbuffers::String *
min()
const {
return GetPointer<const flatbuffers::String *>(12); }
484 const flatbuffers::String *
max()
const {
return GetPointer<const flatbuffers::String *>(14); }
485 const flatbuffers::String *
unit()
const {
return GetPointer<const flatbuffers::String *>(16); }
486 const flatbuffers::String *
value()
const {
return GetPointer<const flatbuffers::String *>(18); }
491 bool Verify(flatbuffers::Verifier &verifier)
const {
492 return VerifyTableStart(verifier) &&
493 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
494 verifier.Verify(dataType()) &&
495 VerifyField<flatbuffers::uoffset_t>(verifier, 6 ) &&
496 verifier.Verify(defaultValue()) &&
497 VerifyField<flatbuffers::uoffset_t>(verifier, 8 ) &&
498 verifier.Verify(displayName()) &&
499 VerifyField<flatbuffers::uoffset_t>(verifier, 10 ) &&
500 verifier.Verify(
id()) &&
501 VerifyField<flatbuffers::uoffset_t>(verifier, 12 ) &&
502 verifier.Verify(min()) &&
503 VerifyField<flatbuffers::uoffset_t>(verifier, 14 ) &&
504 verifier.Verify(max()) &&
505 VerifyField<flatbuffers::uoffset_t>(verifier, 16 ) &&
506 verifier.Verify(unit()) &&
507 VerifyField<flatbuffers::uoffset_t>(verifier, 18 ) &&
508 verifier.Verify(value()) &&
509 VerifyField<uint8_t>(verifier, 20 ) &&
510 VerifyField<uint8_t>(verifier, 22 ) &&
516 flatbuffers::FlatBufferBuilder &
fbb_;
518 void add_dataType(flatbuffers::Offset<flatbuffers::String> dataType) { fbb_.AddOffset(4, dataType); }
519 void add_defaultValue(flatbuffers::Offset<flatbuffers::String> defaultValue) { fbb_.AddOffset(6, defaultValue); }
520 void add_displayName(flatbuffers::Offset<flatbuffers::String> displayName) { fbb_.AddOffset(8, displayName); }
521 void add_id(flatbuffers::Offset<flatbuffers::String>
id) { fbb_.AddOffset(10,
id); }
522 void add_min(flatbuffers::Offset<flatbuffers::String> min) { fbb_.AddOffset(12, min); }
523 void add_max(flatbuffers::Offset<flatbuffers::String> max) { fbb_.AddOffset(14, max); }
524 void add_unit(flatbuffers::Offset<flatbuffers::String> unit) { fbb_.AddOffset(16, unit); }
525 void add_value(flatbuffers::Offset<flatbuffers::String> value) { fbb_.AddOffset(18, value); }
526 void add_shouldRemove(uint8_t shouldRemove) { fbb_.AddElement<uint8_t>(20, shouldRemove, 0); }
527 void add_shouldUpdate(uint8_t shouldUpdate) { fbb_.AddElement<uint8_t>(22, shouldUpdate, 0); }
528 ProcessDataBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); }
530 flatbuffers::Offset<ProcessData>
Finish() {
531 auto o = flatbuffers::Offset<ProcessData>(fbb_.EndTable(start_, 10));
537 flatbuffers::Offset<flatbuffers::String> dataType = 0,
538 flatbuffers::Offset<flatbuffers::String> defaultValue = 0,
539 flatbuffers::Offset<flatbuffers::String> displayName = 0,
540 flatbuffers::Offset<flatbuffers::String>
id = 0,
541 flatbuffers::Offset<flatbuffers::String> min = 0,
542 flatbuffers::Offset<flatbuffers::String> max = 0,
543 flatbuffers::Offset<flatbuffers::String> unit = 0,
544 flatbuffers::Offset<flatbuffers::String> value = 0,
545 uint8_t shouldRemove = 0,
546 uint8_t shouldUpdate = 0) {
562 const flatbuffers::String *
name()
const {
return GetPointer<const flatbuffers::String *>(4); }
575 const flatbuffers::Vector<flatbuffers::Offset<grl::flatbuffer::LinkObject>> *
tools()
const {
return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<grl::flatbuffer::LinkObject>> *>(20); }
577 const flatbuffers::Vector<flatbuffers::Offset<ProcessData>> *
processData()
const {
return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<ProcessData>> *>(22); }
578 const flatbuffers::String *
currentMotionCenter()
const {
return GetPointer<const flatbuffers::String *>(24); }
580 bool Verify(flatbuffers::Verifier &verifier)
const {
581 return VerifyTableStart(verifier) &&
582 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
583 verifier.Verify(name()) &&
584 VerifyField<int8_t>(verifier, 6 ) &&
585 VerifyField<int8_t>(verifier, 8 ) &&
586 VerifyField<int8_t>(verifier, 10 ) &&
587 VerifyField<int8_t>(verifier, 12 ) &&
588 VerifyField<int8_t>(verifier, 14 ) &&
589 VerifyField<flatbuffers::uoffset_t>(verifier, 16 ) &&
590 verifier.VerifyTable(smartServoConfig()) &&
591 VerifyField<flatbuffers::uoffset_t>(verifier, 18 ) &&
592 verifier.VerifyTable(FRIConfig()) &&
593 VerifyField<flatbuffers::uoffset_t>(verifier, 20 ) &&
594 verifier.Verify(tools()) &&
595 verifier.VerifyVectorOfTables(tools()) &&
596 VerifyField<flatbuffers::uoffset_t>(verifier, 22 ) &&
597 verifier.Verify(processData()) &&
598 verifier.VerifyVectorOfTables(processData()) &&
599 VerifyField<flatbuffers::uoffset_t>(verifier, 24 ) &&
600 verifier.Verify(currentMotionCenter()) &&
601 VerifyField<uint8_t>(verifier, 26 ) &&
607 flatbuffers::FlatBufferBuilder &
fbb_;
609 void add_name(flatbuffers::Offset<flatbuffers::String> name) { fbb_.AddOffset(4, name); }
615 void add_smartServoConfig(flatbuffers::Offset<SmartServo> smartServoConfig) { fbb_.AddOffset(16, smartServoConfig); }
616 void add_FRIConfig(flatbuffers::Offset<FRI> FRIConfig) { fbb_.AddOffset(18, FRIConfig); }
617 void add_tools(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<grl::flatbuffer::LinkObject>>> tools) { fbb_.AddOffset(20, tools); }
618 void add_processData(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<ProcessData>>> processData) { fbb_.AddOffset(22, processData); }
619 void add_currentMotionCenter(flatbuffers::Offset<flatbuffers::String> currentMotionCenter) { fbb_.AddOffset(24, currentMotionCenter); }
623 flatbuffers::Offset<KUKAiiwaArmConfiguration>
Finish() {
624 auto o = flatbuffers::Offset<KUKAiiwaArmConfiguration>(fbb_.EndTable(start_, 12));
630 flatbuffers::Offset<flatbuffers::String> name = 0,
636 flatbuffers::Offset<SmartServo> smartServoConfig = 0,
637 flatbuffers::Offset<FRI> FRIConfig = 0,
638 flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<grl::flatbuffer::LinkObject>>> tools = 0,
639 flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<ProcessData>>> processData = 0,
640 flatbuffers::Offset<flatbuffers::String> currentMotionCenter = 0,
641 uint8_t requestMonitorProcessData = 0) {
659 const flatbuffers::String *
hardwareVersion()
const {
return GetPointer<const flatbuffers::String *>(4); }
660 const flatbuffers::Vector<double> *
torqueSensorLimits()
const {
return GetPointer<const flatbuffers::Vector<double> *>(6); }
662 uint8_t
isMastered()
const {
return GetField<uint8_t>(10, 0); }
664 const flatbuffers::Vector<flatbuffers::Offset<ProcessData>> *
processData()
const {
return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<ProcessData>> *>(12); }
665 bool Verify(flatbuffers::Verifier &verifier)
const {
666 return VerifyTableStart(verifier) &&
667 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
668 verifier.Verify(hardwareVersion()) &&
669 VerifyField<flatbuffers::uoffset_t>(verifier, 6 ) &&
670 verifier.Verify(torqueSensorLimits()) &&
671 VerifyField<uint8_t>(verifier, 8 ) &&
672 VerifyField<uint8_t>(verifier, 10 ) &&
673 VerifyField<flatbuffers::uoffset_t>(verifier, 12 ) &&
674 verifier.Verify(processData()) &&
675 verifier.VerifyVectorOfTables(processData()) &&
681 flatbuffers::FlatBufferBuilder &
fbb_;
683 void add_hardwareVersion(flatbuffers::Offset<flatbuffers::String> hardwareVersion) { fbb_.AddOffset(4, hardwareVersion); }
684 void add_torqueSensorLimits(flatbuffers::Offset<flatbuffers::Vector<double>> torqueSensorLimits) { fbb_.AddOffset(6, torqueSensorLimits); }
685 void add_isReadyToMove(uint8_t isReadyToMove) { fbb_.AddElement<uint8_t>(8, isReadyToMove, 0); }
686 void add_isMastered(uint8_t isMastered) { fbb_.AddElement<uint8_t>(10, isMastered, 0); }
687 void add_processData(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<ProcessData>>> processData) { fbb_.AddOffset(12, processData); }
690 flatbuffers::Offset<KUKAiiwaMonitorConfiguration>
Finish() {
691 auto o = flatbuffers::Offset<KUKAiiwaMonitorConfiguration>(fbb_.EndTable(start_, 5));
697 flatbuffers::Offset<flatbuffers::String> hardwareVersion = 0,
698 flatbuffers::Offset<flatbuffers::Vector<double>> torqueSensorLimits = 0,
699 uint8_t isReadyToMove = 0,
700 uint8_t isMastered = 0,
701 flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<ProcessData>>> processData = 0) {
724 bool Verify(flatbuffers::Verifier &verifier)
const {
725 return VerifyTableStart(verifier) &&
726 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
727 verifier.VerifyTable(measuredState()) &&
728 VerifyField<grl::flatbuffer::Pose>(verifier, 6 ) &&
729 VerifyField<flatbuffers::uoffset_t>(verifier, 8 ) &&
730 verifier.VerifyTable(jointStateReal()) &&
731 VerifyField<flatbuffers::uoffset_t>(verifier, 10 ) &&
732 verifier.VerifyTable(jointStateInterpolated()) &&
733 VerifyField<flatbuffers::uoffset_t>(verifier, 12 ) &&
734 verifier.VerifyTable(externalState()) &&
735 VerifyField<int8_t>(verifier, 14 ) &&
741 flatbuffers::FlatBufferBuilder &
fbb_;
743 void add_measuredState(flatbuffers::Offset<grl::flatbuffer::JointState> measuredState) { fbb_.AddOffset(4, measuredState); }
745 void add_jointStateReal(flatbuffers::Offset<grl::flatbuffer::JointState> jointStateReal) { fbb_.AddOffset(8, jointStateReal); }
746 void add_jointStateInterpolated(flatbuffers::Offset<grl::flatbuffer::JointState> jointStateInterpolated) { fbb_.AddOffset(10, jointStateInterpolated); }
747 void add_externalState(flatbuffers::Offset<grl::flatbuffer::JointState> externalState) { fbb_.AddOffset(12, externalState); }
751 flatbuffers::Offset<KUKAiiwaMonitorState>
Finish() {
752 auto o = flatbuffers::Offset<KUKAiiwaMonitorState>(fbb_.EndTable(start_, 6));
758 flatbuffers::Offset<grl::flatbuffer::JointState> measuredState = 0,
760 flatbuffers::Offset<grl::flatbuffer::JointState> jointStateReal = 0,
761 flatbuffers::Offset<grl::flatbuffer::JointState> jointStateInterpolated = 0,
762 flatbuffers::Offset<grl::flatbuffer::JointState> externalState = 0,
774 struct KUKAiiwaState FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
775 const flatbuffers::String *
name()
const {
return GetPointer<const flatbuffers::String *>(4); }
776 const flatbuffers::String *
destination()
const {
return GetPointer<const flatbuffers::String *>(6); }
777 const flatbuffers::String *
source()
const {
return GetPointer<const flatbuffers::String *>(8); }
778 double timestamp()
const {
return GetField<double>(10, 0); }
787 bool Verify(flatbuffers::Verifier &verifier)
const {
788 return VerifyTableStart(verifier) &&
789 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
790 verifier.Verify(name()) &&
791 VerifyField<flatbuffers::uoffset_t>(verifier, 6 ) &&
792 verifier.Verify(destination()) &&
793 VerifyField<flatbuffers::uoffset_t>(verifier, 8 ) &&
794 verifier.Verify(source()) &&
795 VerifyField<double>(verifier, 10 ) &&
796 VerifyField<uint8_t>(verifier, 12 ) &&
797 VerifyField<flatbuffers::uoffset_t>(verifier, 14 ) &&
798 verifier.VerifyTable(armControlState()) &&
799 VerifyField<uint8_t>(verifier, 16 ) &&
800 VerifyField<flatbuffers::uoffset_t>(verifier, 18 ) &&
801 verifier.VerifyTable(armConfiguration()) &&
802 VerifyField<uint8_t>(verifier, 20 ) &&
803 VerifyField<flatbuffers::uoffset_t>(verifier, 22 ) &&
804 verifier.VerifyTable(monitorState()) &&
805 VerifyField<uint8_t>(verifier, 24 ) &&
806 VerifyField<flatbuffers::uoffset_t>(verifier, 26 ) &&
807 verifier.VerifyTable(monitorConfig()) &&
813 flatbuffers::FlatBufferBuilder &
fbb_;
815 void add_name(flatbuffers::Offset<flatbuffers::String> name) { fbb_.AddOffset(4, name); }
816 void add_destination(flatbuffers::Offset<flatbuffers::String> destination) { fbb_.AddOffset(6, destination); }
817 void add_source(flatbuffers::Offset<flatbuffers::String> source) { fbb_.AddOffset(8, source); }
818 void add_timestamp(
double timestamp) { fbb_.AddElement<
double>(10, timestamp, 0); }
820 void add_armControlState(flatbuffers::Offset<grl::flatbuffer::ArmControlState> armControlState) { fbb_.AddOffset(14, armControlState); }
822 void add_armConfiguration(flatbuffers::Offset<KUKAiiwaArmConfiguration> armConfiguration) { fbb_.AddOffset(18, armConfiguration); }
824 void add_monitorState(flatbuffers::Offset<KUKAiiwaMonitorState> monitorState) { fbb_.AddOffset(22, monitorState); }
826 void add_monitorConfig(flatbuffers::Offset<KUKAiiwaMonitorConfiguration> monitorConfig) { fbb_.AddOffset(26, monitorConfig); }
829 flatbuffers::Offset<KUKAiiwaState>
Finish() {
830 auto o = flatbuffers::Offset<KUKAiiwaState>(fbb_.EndTable(start_, 12));
836 flatbuffers::Offset<flatbuffers::String> name = 0,
837 flatbuffers::Offset<flatbuffers::String> destination = 0,
838 flatbuffers::Offset<flatbuffers::String> source = 0,
839 double timestamp = 0,
840 uint8_t setArmControlState = 0,
841 flatbuffers::Offset<grl::flatbuffer::ArmControlState> armControlState = 0,
842 uint8_t setArmConfiguration = 0,
843 flatbuffers::Offset<KUKAiiwaArmConfiguration> armConfiguration = 0,
844 uint8_t hasMonitorState = 0,
845 flatbuffers::Offset<KUKAiiwaMonitorState> monitorState = 0,
846 uint8_t hasMonitorConfig = 0,
847 flatbuffers::Offset<KUKAiiwaMonitorConfiguration> monitorConfig = 0) {
864 struct KUKAiiwaStates FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
865 const flatbuffers::Vector<flatbuffers::Offset<KUKAiiwaState>> *
states()
const {
return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<KUKAiiwaState>> *>(4); }
866 bool Verify(flatbuffers::Verifier &verifier)
const {
867 return VerifyTableStart(verifier) &&
868 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
869 verifier.Verify(states()) &&
870 verifier.VerifyVectorOfTables(states()) &&
876 flatbuffers::FlatBufferBuilder &
fbb_;
878 void add_states(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<KUKAiiwaState>>> states) { fbb_.AddOffset(4, states); }
881 flatbuffers::Offset<KUKAiiwaStates>
Finish() {
882 auto o = flatbuffers::Offset<KUKAiiwaStates>(fbb_.EndTable(start_, 1));
888 flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<KUKAiiwaState>>> states = 0) {
909 #endif // FLATBUFFERS_GENERATED_KUKAIIWA_GRL_FLATBUFFER_H_ void add_maxJointSpeed(flatbuffers::Offset< flatbuffers::Vector< double >> maxJointSpeed)
void add_tools(flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< grl::flatbuffer::LinkObject >>> tools)
void add_smartServoConfig(flatbuffers::Offset< SmartServo > smartServoConfig)
void add_nullspaceStiffness(double nullspaceStiffness)
Actively commanding the arm with FRI.
Monitoring mode, receive state but connection too inconsistent to command.
uint8_t shouldRemove() const
should the data be removed completely?
void add_setReceiveMultiplier(int32_t setReceiveMultiplier)
flatbuffers::FlatBufferBuilder & fbb_
uint8_t hasMonitorConfig() const
const char ** EnumNamesEClientCommandMode()
flatbuffers::Offset< KUKAiiwaState > CreateKUKAiiwaState(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > name=0, flatbuffers::Offset< flatbuffers::String > destination=0, flatbuffers::Offset< flatbuffers::String > source=0, double timestamp=0, uint8_t setArmControlState=0, flatbuffers::Offset< grl::flatbuffer::ArmControlState > armControlState=0, uint8_t setArmConfiguration=0, flatbuffers::Offset< KUKAiiwaArmConfiguration > armConfiguration=0, uint8_t hasMonitorState=0, flatbuffers::Offset< KUKAiiwaMonitorState > monitorState=0, uint8_t hasMonitorConfig=0, flatbuffers::Offset< KUKAiiwaMonitorConfiguration > monitorConfig=0)
const flatbuffers::String * id() const
flatbuffers::Offset< ProcessData > Finish()
flatbuffers::FlatBufferBuilder & fbb_
const grl::flatbuffer::JointState * measuredState() const
void add_timestamp(double timestamp)
flatbuffers::FlatBufferBuilder & fbb_
void add_stiffness(flatbuffers::Offset< grl::flatbuffer::EulerPoseParams > stiffness)
const char * EnumNameESessionState(ESessionState e)
flatbuffers::FlatBufferBuilder & fbb_
void add_id(flatbuffers::Offset< flatbuffers::String > id)
DisabledBuilder(flatbuffers::FlatBufferBuilder &_fbb)
void add_maxControlForceExceededStop(uint8_t maxControlForceExceededStop)
flatbuffers::Offset< FRI > CreateFRI(flatbuffers::FlatBufferBuilder &_fbb, EOverlayType overlayType=EOverlayType_JOINT, int32_t sendPeriodMillisec=4, int32_t setReceiveMultiplier=5, uint8_t updatePortOnRemote=0, int16_t portOnRemote=0, uint8_t updatePortOnController=0, int16_t portOnController=0)
void add_portOnController(int16_t portOnController)
const char ** EnumNamesEOverlayType()
const char * EnumNameEDriveState(EDriveState e)
const SmartServo * smartServoConfig() const
uint8_t shouldUpdate() const
should the data be updated to these values?
EOperationMode operationMode() const
const flatbuffers::Vector< double > * jointAccelerationRel() const
normalized joint accelerations from 0 to 1 relative to system capabilities
uint8_t updatePortOnController() const
About to command (Overlay created in Java interface)
flatbuffers::uoffset_t start_
uint8_t updatePortOnRemote() const
const flatbuffers::String * hardwareVersion() const
flatbuffers::uoffset_t start_
void add_states(flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< KUKAiiwaState >>> states)
flatbuffers::FlatBufferBuilder & fbb_
void add_processData(flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< ProcessData >>> processData)
flatbuffers::FlatBufferBuilder & fbb_
void add_measuredState(flatbuffers::Offset< grl::flatbuffer::JointState > measuredState)
void add_maxCartesianVelocity(const grl::flatbuffer::EulerPose *maxCartesianVelocity)
const char ** EnumNamesESafetyState()
uint8_t maxControlForceExceededStop() const
stop if max control force is exceeded
void add_maxPathDeviation(const grl::flatbuffer::EulerPose *maxPathDeviation)
const flatbuffers::Vector< flatbuffers::Offset< grl::flatbuffer::LinkObject > > * tools() const
const char * KUKAiiwaStatesExtension()
uint8_t setArmControlState() const
flatbuffers::Offset< Disabled > Finish()
const char * EnumNameEClientCommandMode(EClientCommandMode e)
void add_destination(flatbuffers::Offset< flatbuffers::String > destination)
flatbuffers::uoffset_t start_
const flatbuffers::Vector< double > * jointVelocityRel() const
normalized joint velocity from 0 to 1 relative to system capabilities
flatbuffers::uoffset_t start_
flatbuffers::Offset< KUKAiiwaMonitorConfiguration > Finish()
const grl::flatbuffer::EulerPoseParams * stiffness() const
actual stiffness to set rot:[nm/rad]
const KUKAiiwaArmConfiguration * armConfiguration() const
const grl::flatbuffer::EulerPose * maxControlForce() const
xyz: Newtons rpy:Nm (all >=0)
void add_shouldRemove(uint8_t shouldRemove)
flatbuffers::uoffset_t start_
void add_updatePortOnRemote(uint8_t updatePortOnRemote)
flatbuffers::uoffset_t start_
flatbuffers::Offset< KUKAiiwaMonitorConfiguration > CreateKUKAiiwaMonitorConfiguration(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > hardwareVersion=0, flatbuffers::Offset< flatbuffers::Vector< double >> torqueSensorLimits=0, uint8_t isReadyToMove=0, uint8_t isMastered=0, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< ProcessData >>> processData=0)
KUKAiiwaMonitorConfigurationBuilder(flatbuffers::FlatBufferBuilder &_fbb)
flatbuffers::FlatBufferBuilder & fbb_
const char * EnumNameEControlMode(EControlMode e)
uint8_t setArmConfiguration() const
flatbuffers::FlatBufferBuilder & fbb_
const char ** EnumNamesEOperationMode()
void add_displayName(flatbuffers::Offset< flatbuffers::String > displayName)
void add_isReadyToMove(uint8_t isReadyToMove)
void add_setArmControlState(uint8_t setArmControlState)
flatbuffers::Offset< ProcessData > CreateProcessData(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > dataType=0, flatbuffers::Offset< flatbuffers::String > defaultValue=0, flatbuffers::Offset< flatbuffers::String > displayName=0, flatbuffers::Offset< flatbuffers::String > id=0, flatbuffers::Offset< flatbuffers::String > min=0, flatbuffers::Offset< flatbuffers::String > max=0, flatbuffers::Offset< flatbuffers::String > unit=0, flatbuffers::Offset< flatbuffers::String > value=0, uint8_t shouldRemove=0, uint8_t shouldUpdate=0)
flatbuffers::uoffset_t start_
void add_overlayType(EOverlayType overlayType)
void add_overlayType(EOverlayType overlayType)
void add_hardwareVersion(flatbuffers::Offset< flatbuffers::String > hardwareVersion)
const grl::flatbuffer::JointState * jointStateReal() const
const char ** EnumNamesESessionState()
void add_jointVelocityRel(flatbuffers::Offset< flatbuffers::Vector< double >> jointVelocityRel)
void add_shouldUpdate(uint8_t shouldUpdate)
void add_unit(flatbuffers::Offset< flatbuffers::String > unit)
void add_name(flatbuffers::Offset< flatbuffers::String > name)
const grl::flatbuffer::JointState * externalState() const
KUKAiiwaArmConfigurationBuilder(flatbuffers::FlatBufferBuilder &_fbb)
flatbuffers::Offset< FRI > Finish()
flatbuffers::FlatBufferBuilder & fbb_
const grl::flatbuffer::JointState * jointStateInterpolated() const
FRI can adjust the java commanded position. "Interpolated" is the original Java commanded position...
flatbuffers::Offset< SmartServo > CreateSmartServo(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::Vector< double >> jointAccelerationRel=0, flatbuffers::Offset< flatbuffers::Vector< double >> jointVelocityRel=0, uint8_t updateMinimumTrajectoryExecutionTime=0, double minimumTrajectoryExecutionTime=0)
flatbuffers::Offset< CartesianImpedenceControlMode > CreateCartesianImpedenceControlMode(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< grl::flatbuffer::EulerPoseParams > stiffness=0, const grl::flatbuffer::EulerPose *maxPathDeviation=0, flatbuffers::Offset< flatbuffers::Vector< double >> maxJointSpeed=0, const grl::flatbuffer::EulerPose *maxCartesianVelocity=0, const grl::flatbuffer::EulerPose *maxControlForce=0, uint8_t maxControlForceExceededStop=0, double nullspaceDamping=0, double nullspaceStiffness=0)
void add_defaultValue(flatbuffers::Offset< flatbuffers::String > defaultValue)
void add_armControlState(flatbuffers::Offset< grl::flatbuffer::ArmControlState > armControlState)
double minimumTrajectoryExecutionTime() const
void add_max(flatbuffers::Offset< flatbuffers::String > max)
void add_cartesianFlangePose(const grl::flatbuffer::Pose *cartesianFlangePose)
flatbuffers::Offset< Disabled > CreateDisabled(flatbuffers::FlatBufferBuilder &_fbb)
void add_hasMonitorState(uint8_t hasMonitorState)
const char * EnumNameEConnectionQuality(EConnectionQuality e)
const flatbuffers::String * destination() const
void add_torqueSensorLimits(flatbuffers::Offset< flatbuffers::Vector< double >> torqueSensorLimits)
const grl::flatbuffer::EulerPose * maxCartesianVelocity() const
trans: [mm/s] rot: [rad/s]
bool VerifyKUKAiiwaStatesBuffer(flatbuffers::Verifier &verifier)
const char * EnumNameKUKAiiwaInterface(KUKAiiwaInterface e)
void add_commandInterface(KUKAiiwaInterface commandInterface)
const flatbuffers::Vector< double > * stiffness() const
flatbuffers::Offset< JointImpedenceControlMode > CreateJointImpedenceControlMode(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::Vector< double >> stiffness=0, flatbuffers::Offset< flatbuffers::Vector< double >> damping=0)
uint8_t hasMonitorState() const
const flatbuffers::String * displayName() const
bool Verify(flatbuffers::Verifier &verifier) const
const KUKAiiwaMonitorState * monitorState() const
int16_t portOnController() const
uint8_t isMastered() const
void add_jointStateInterpolated(flatbuffers::Offset< grl::flatbuffer::JointState > jointStateInterpolated)
void add_min(flatbuffers::Offset< flatbuffers::String > min)
void add_externalState(flatbuffers::Offset< grl::flatbuffer::JointState > externalState)
flatbuffers::Offset< KUKAiiwaArmConfiguration > Finish()
const grl::flatbuffer::Pose * cartesianFlangePose() const
KUKAiiwaInterface monitorInterface() const
how robot state will be sent to driver
void add_stiffness(flatbuffers::Offset< flatbuffers::Vector< double >> stiffness)
void add_processData(flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< ProcessData >>> processData)
uint8_t isReadyToMove() const
bool KUKAiiwaStatesBufferHasIdentifier(const void *buf)
flatbuffers::Offset< KUKAiiwaMonitorState > CreateKUKAiiwaMonitorState(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< grl::flatbuffer::JointState > measuredState=0, const grl::flatbuffer::Pose *cartesianFlangePose=0, flatbuffers::Offset< grl::flatbuffer::JointState > jointStateReal=0, flatbuffers::Offset< grl::flatbuffer::JointState > jointStateInterpolated=0, flatbuffers::Offset< grl::flatbuffer::JointState > externalState=0, EOperationMode operationMode=EOperationMode_TEST_MODE_1)
void add_sendPeriodMillisec(int32_t sendPeriodMillisec)
flatbuffers::uoffset_t start_
void add_FRIConfig(flatbuffers::Offset< FRI > FRIConfig)
const flatbuffers::String * dataType() const
const flatbuffers::String * max() const
flatbuffers::uoffset_t start_
FRIBuilder(flatbuffers::FlatBufferBuilder &_fbb)
flatbuffers::FlatBufferBuilder & fbb_
const FRI * FRIConfig() const
EControlMode controlMode() const
position, cartesian impedence, or joint impedence low level controller adjustments ...
KUKAiiwaStateBuilder(flatbuffers::FlatBufferBuilder &_fbb)
const flatbuffers::String * currentMotionCenter() const
flatbuffers::uoffset_t start_
void add_nullspaceDamping(double nullspaceDamping)
void add_jointAccelerationRel(flatbuffers::Offset< flatbuffers::Vector< double >> jointAccelerationRel)
void add_isMastered(uint8_t isMastered)
flatbuffers::Offset< CartesianImpedenceControlMode > Finish()
uint8_t requestMonitorProcessData() const
void add_updatePortOnController(uint8_t updatePortOnController)
const flatbuffers::String * unit() const
flatbuffers::Offset< KUKAiiwaStates > CreateKUKAiiwaStates(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< KUKAiiwaState >>> states=0)
const char ** EnumNamesEConnectionQuality()
flatbuffers::Offset< KUKAiiwaState > Finish()
KUKAiiwaInterface commandInterface() const
how commands will be sent to robot
void FinishKUKAiiwaStatesBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< grl::flatbuffer::KUKAiiwaStates > root)
void add_controlMode(EControlMode controlMode)
JointImpedenceControlModeBuilder(flatbuffers::FlatBufferBuilder &_fbb)
void add_maxControlForce(const grl::flatbuffer::EulerPose *maxControlForce)
const char * EnumNameEOverlayType(EOverlayType e)
flatbuffers::Offset< SmartServo > Finish()
const grl::flatbuffer::EulerPose * maxPathDeviation() const
maximum deviation from set goal in mm and radians
const char * EnumNameEOperationMode(EOperationMode e)
const char * KUKAiiwaStatesIdentifier()
EClientCommandMode clientCommandMode() const
motion command mode: cartesian, wrench, torque commands
flatbuffers::Offset< JointImpedenceControlMode > Finish()
uint8_t updateMinimumTrajectoryExecutionTime() const
const grl::flatbuffer::KUKAiiwaStates * GetKUKAiiwaStates(const void *buf)
KUKAiiwaStatesBuilder(flatbuffers::FlatBufferBuilder &_fbb)
const KUKAiiwaMonitorConfiguration * monitorConfig() const
void add_armConfiguration(flatbuffers::Offset< KUKAiiwaArmConfiguration > armConfiguration)
CartesianImpedenceControlModeBuilder(flatbuffers::FlatBufferBuilder &_fbb)
int32_t setReceiveMultiplier() const
flatbuffers::uoffset_t start_
void add_value(flatbuffers::Offset< flatbuffers::String > value)
void add_operationMode(EOperationMode operationMode)
void add_jointStateReal(flatbuffers::Offset< grl::flatbuffer::JointState > jointStateReal)
KUKAiiwaMonitorStateBuilder(flatbuffers::FlatBufferBuilder &_fbb)
void add_clientCommandMode(EClientCommandMode clientCommandMode)
SmartServoBuilder(flatbuffers::FlatBufferBuilder &_fbb)
void add_setArmConfiguration(uint8_t setArmConfiguration)
void add_monitorState(flatbuffers::Offset< KUKAiiwaMonitorState > monitorState)
void add_minimumTrajectoryExecutionTime(double minimumTrajectoryExecutionTime)
EOverlayType overlayType() const
const flatbuffers::String * name() const
void add_source(flatbuffers::Offset< flatbuffers::String > source)
flatbuffers::Offset< KUKAiiwaMonitorState > Finish()
const flatbuffers::String * min() const
void add_monitorInterface(KUKAiiwaInterface monitorInterface)
Driving mode currently unused.
void add_name(flatbuffers::Offset< flatbuffers::String > name)
int16_t portOnRemote() const
const flatbuffers::Vector< flatbuffers::Offset< KUKAiiwaState > > * states() const
void add_monitorConfig(flatbuffers::Offset< KUKAiiwaMonitorConfiguration > monitorConfig)
void add_currentMotionCenter(flatbuffers::Offset< flatbuffers::String > currentMotionCenter)
const flatbuffers::Vector< double > * damping() const
const flatbuffers::String * value() const
double nullspaceDamping() const
must be between 0.3-1.0 suggested is 0.7
const char ** EnumNamesKUKAiiwaInterface()
const flatbuffers::Vector< double > * torqueSensorLimits() const
ProcessDataBuilder(flatbuffers::FlatBufferBuilder &_fbb)
const char ** EnumNamesEDriveState()
const char ** EnumNamesEControlMode()
double nullspaceStiffness() const
[Nm/rad] must be => 0.0
void add_hasMonitorConfig(uint8_t hasMonitorConfig)
void add_requestMonitorProcessData(uint8_t requestMonitorProcessData)
void add_portOnRemote(int16_t portOnRemote)
void add_updateMinimumTrajectoryExecutionTime(uint8_t updateMinimumTrajectoryExecutionTime)
void add_damping(flatbuffers::Offset< flatbuffers::Vector< double >> damping)
const flatbuffers::String * defaultValue() const
void add_dataType(flatbuffers::Offset< flatbuffers::String > dataType)
int32_t sendPeriodMillisec() const
flatbuffers::FlatBufferBuilder & fbb_
const char * EnumNameESafetyState(ESafetyState e)
const flatbuffers::String * source() const
flatbuffers::Offset< KUKAiiwaStates > Finish()
flatbuffers::Offset< KUKAiiwaArmConfiguration > CreateKUKAiiwaArmConfiguration(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > name=0, KUKAiiwaInterface commandInterface=KUKAiiwaInterface_Disabled, KUKAiiwaInterface monitorInterface=KUKAiiwaInterface_Disabled, EClientCommandMode clientCommandMode=EClientCommandMode_NO_COMMAND_MODE, EOverlayType overlayType=EOverlayType_NO_OVERLAY, EControlMode controlMode=EControlMode_POSITION_CONTROL_MODE, flatbuffers::Offset< SmartServo > smartServoConfig=0, flatbuffers::Offset< FRI > FRIConfig=0, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< grl::flatbuffer::LinkObject >>> tools=0, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< ProcessData >>> processData=0, flatbuffers::Offset< flatbuffers::String > currentMotionCenter=0, uint8_t requestMonitorProcessData=0)
const grl::flatbuffer::ArmControlState * armControlState() const
const flatbuffers::Vector< flatbuffers::Offset< ProcessData > > * processData() const
set kuka tablet "processData" panel UI config strings
const flatbuffers::Vector< double > * maxJointSpeed() const
sets the maximum joint speed