3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class MoveArmTrajectory extends Table {
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)
grl.flatbuffer.JointState traj(grl.flatbuffer.JointState obj, int j)
static void addTraj(FlatBufferBuilder builder, int trajOffset)
MoveArmTrajectory __init(int _i, ByteBuffer _bb)
static int createMoveArmTrajectory(FlatBufferBuilder builder, int trajOffset)
static MoveArmTrajectory getRootAsMoveArmTrajectory(ByteBuffer _bb, MoveArmTrajectory obj)
static void startTrajVector(FlatBufferBuilder builder, int numElems)
static void startMoveArmTrajectory(FlatBufferBuilder builder)
grl.flatbuffer.JointState traj(int j)
static int endMoveArmTrajectory(FlatBufferBuilder builder)
static MoveArmTrajectory getRootAsMoveArmTrajectory(ByteBuffer _bb)