3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
18 public int trajLength() {
int o = __offset(4);
return o != 0 ? __vector_len(o) : 0; }
22 builder.startObject(1);
28 public static void addTraj(FlatBufferBuilder builder,
int trajOffset) { builder.addOffset(0, trajOffset, 0); }
29 public static int createTrajVector(FlatBufferBuilder builder,
int[] data) { builder.startVector(4, data.length, 4);
for (
int i = data.length - 1; i >= 0; i--) builder.addOffset(data[i]);
return builder.endVector(); }
30 public static void startTrajVector(FlatBufferBuilder builder,
int numElems) { builder.startVector(4, numElems, 4); }
32 int o = builder.endObject();
static int createTrajVector(FlatBufferBuilder builder, int[] data)
static void addTraj(FlatBufferBuilder builder, int trajOffset)
JointState traj(JointState obj, int j)
MoveArmTrajectory __init(int _i, ByteBuffer _bb)
JointState __init(int _i, ByteBuffer _bb)
static MoveArmTrajectory getRootAsMoveArmTrajectory(ByteBuffer _bb, MoveArmTrajectory obj)
static void startTrajVector(FlatBufferBuilder builder, int numElems)
static void startMoveArmTrajectory(FlatBufferBuilder builder)
static int endMoveArmTrajectory(FlatBufferBuilder builder)
static MoveArmTrajectory getRootAsMoveArmTrajectory(ByteBuffer _bb)
static int createMoveArmTrajectory(FlatBufferBuilder builder, int traj)