src/java/grl/src/grl/flatbuffer/KUKAiiwaMonitorState.java
Go to the documentation of this file.
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package grl.flatbuffer;
4 
5 import java.nio.*;
6 import java.lang.*;
7 import java.util.*;
8 import com.google.flatbuffers.*;
9 
10 @SuppressWarnings("unused")
11 public final class KUKAiiwaMonitorState extends Table {
13  public static KUKAiiwaMonitorState getRootAsKUKAiiwaMonitorState(ByteBuffer _bb, KUKAiiwaMonitorState obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__init(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
14  public KUKAiiwaMonitorState __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; return this; }
15 
17  public grl.flatbuffer.JointState measuredState(grl.flatbuffer.JointState obj) { int o = __offset(4); return o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null; }
19  public grl.flatbuffer.Pose cartesianFlangePose(grl.flatbuffer.Pose obj) { int o = __offset(6); return o != 0 ? obj.__init(o + bb_pos, bb) : null; }
21  public grl.flatbuffer.JointState jointStateReal(grl.flatbuffer.JointState obj) { int o = __offset(8); return o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null; }
22  /**
23  * FRI can adjust the java commanded position. "Interpolated" is the original Java commanded position.
24  */
26  public grl.flatbuffer.JointState jointStateInterpolated(grl.flatbuffer.JointState obj) { int o = __offset(10); return o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null; }
27  /**
28  * The state of the arm as calculated by kuka after
29  * subtracting the known weights of the arm
30  * and any attachments configured to be present.
31  *
32  * Most likely only contains torque.
33  */
35  public grl.flatbuffer.JointState externalState(grl.flatbuffer.JointState obj) { int o = __offset(12); return o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null; }
36  public byte operationMode() { int o = __offset(14); return o != 0 ? bb.get(o + bb_pos) : 0; }
38  public grl.flatbuffer.Wrench CartesianWrench(grl.flatbuffer.Wrench obj) { int o = __offset(16); return o != 0 ? obj.__init(o + bb_pos, bb) : null; }
39 
40  public static void startKUKAiiwaMonitorState(FlatBufferBuilder builder) { builder.startObject(7); }
41  public static void addMeasuredState(FlatBufferBuilder builder, int measuredStateOffset) { builder.addOffset(0, measuredStateOffset, 0); }
42  public static void addCartesianFlangePose(FlatBufferBuilder builder, int cartesianFlangePoseOffset) { builder.addStruct(1, cartesianFlangePoseOffset, 0); }
43  public static void addJointStateReal(FlatBufferBuilder builder, int jointStateRealOffset) { builder.addOffset(2, jointStateRealOffset, 0); }
44  public static void addJointStateInterpolated(FlatBufferBuilder builder, int jointStateInterpolatedOffset) { builder.addOffset(3, jointStateInterpolatedOffset, 0); }
45  public static void addExternalState(FlatBufferBuilder builder, int externalStateOffset) { builder.addOffset(4, externalStateOffset, 0); }
46  public static void addOperationMode(FlatBufferBuilder builder, byte operationMode) { builder.addByte(5, operationMode, 0); }
47  public static void addCartesianWrench(FlatBufferBuilder builder, int CartesianWrenchOffset) { builder.addStruct(6, CartesianWrenchOffset, 0); }
48  public static int endKUKAiiwaMonitorState(FlatBufferBuilder builder) {
49  int o = builder.endObject();
50  return o;
51  }
52 }
53 
static void addCartesianWrench(FlatBufferBuilder builder, int CartesianWrenchOffset)
grl.flatbuffer.JointState measuredState(grl.flatbuffer.JointState obj)
static void addCartesianFlangePose(FlatBufferBuilder builder, int cartesianFlangePoseOffset)
static void addExternalState(FlatBufferBuilder builder, int externalStateOffset)
static void addJointStateReal(FlatBufferBuilder builder, int jointStateRealOffset)
static void addMeasuredState(FlatBufferBuilder builder, int measuredStateOffset)
grl.flatbuffer.JointState jointStateInterpolated(grl.flatbuffer.JointState obj)
static void addOperationMode(FlatBufferBuilder builder, byte operationMode)
static KUKAiiwaMonitorState getRootAsKUKAiiwaMonitorState(ByteBuffer _bb, KUKAiiwaMonitorState obj)
grl.flatbuffer.Wrench CartesianWrench(grl.flatbuffer.Wrench obj)
grl.flatbuffer.JointState jointStateReal(grl.flatbuffer.JointState obj)
static void addJointStateInterpolated(FlatBufferBuilder builder, int jointStateInterpolatedOffset)
grl.flatbuffer.JointState externalState(grl.flatbuffer.JointState obj)
static KUKAiiwaMonitorState getRootAsKUKAiiwaMonitorState(ByteBuffer _bb)