src/java/grl/src/grl/flatbuffer/MoveArmCartesianServo.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 MoveArmCartesianServo extends Table {
13  public static MoveArmCartesianServo getRootAsMoveArmCartesianServo(ByteBuffer _bb, MoveArmCartesianServo obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__init(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
14  public MoveArmCartesianServo __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; return this; }
15 
16  public String parent() { int o = __offset(4); return o != 0 ? __string(o + bb_pos) : null; }
17  public ByteBuffer parentAsByteBuffer() { return __vector_as_bytebuffer(4, 1); }
18  public grl.flatbuffer.Pose goal() { return goal(new grl.flatbuffer.Pose()); }
19  public grl.flatbuffer.Pose goal(grl.flatbuffer.Pose obj) { int o = __offset(6); return o != 0 ? obj.__init(o + bb_pos, bb) : null; }
20 
21  public static void startMoveArmCartesianServo(FlatBufferBuilder builder) { builder.startObject(2); }
22  public static void addParent(FlatBufferBuilder builder, int parentOffset) { builder.addOffset(0, parentOffset, 0); }
23  public static void addGoal(FlatBufferBuilder builder, int goalOffset) { builder.addStruct(1, goalOffset, 0); }
24  public static int endMoveArmCartesianServo(FlatBufferBuilder builder) {
25  int o = builder.endObject();
26  return o;
27  }
28 }
29 
static MoveArmCartesianServo getRootAsMoveArmCartesianServo(ByteBuffer _bb)
static void addParent(FlatBufferBuilder builder, int parentOffset)
static MoveArmCartesianServo getRootAsMoveArmCartesianServo(ByteBuffer _bb, MoveArmCartesianServo obj)
static void addGoal(FlatBufferBuilder builder, int goalOffset)