3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
29 public double maxJointSpeed(
int j) {
int o = __offset(8);
return o != 0 ? bb.getDouble(__vector(o) + j * 8) : 0; }
49 public double nullspaceDamping() {
int o = __offset(16);
return o != 0 ? bb.getDouble(o + bb_pos) : 0; }
53 public double nullspaceStiffness() {
int o = __offset(18);
return o != 0 ? bb.getDouble(o + bb_pos) : 0; }
56 public static void addStiffness(FlatBufferBuilder builder,
int stiffnessOffset) { builder.addOffset(0, stiffnessOffset, 0); }
57 public static void addMaxPathDeviation(FlatBufferBuilder builder,
int maxPathDeviationOffset) { builder.addStruct(1, maxPathDeviationOffset, 0); }
58 public static void addMaxJointSpeed(FlatBufferBuilder builder,
int maxJointSpeedOffset) { builder.addOffset(2, maxJointSpeedOffset, 0); }
59 public static int createMaxJointSpeedVector(FlatBufferBuilder builder,
double[] data) { builder.startVector(8, data.length, 8);
for (
int i = data.length - 1; i >= 0; i--) builder.addDouble(data[i]);
return builder.endVector(); }
61 public static void addMaxCartesianVelocity(FlatBufferBuilder builder,
int maxCartesianVelocityOffset) { builder.addStruct(3, maxCartesianVelocityOffset, 0); }
62 public static void addMaxControlForce(FlatBufferBuilder builder,
int maxControlForceOffset) { builder.addStruct(4, maxControlForceOffset, 0); }
63 public static void addMaxControlForceExceededStop(FlatBufferBuilder builder,
boolean maxControlForceExceededStop) { builder.addBoolean(5, maxControlForceExceededStop,
false); }
64 public static void addNullspaceDamping(FlatBufferBuilder builder,
double nullspaceDamping) { builder.addDouble(6, nullspaceDamping, 0); }
65 public static void addNullspaceStiffness(FlatBufferBuilder builder,
double nullspaceStiffness) { builder.addDouble(7, nullspaceStiffness, 0); }
67 int o = builder.endObject();
EulerPose __init(int _i, ByteBuffer _bb)
EulerPoseParams stiffness(EulerPoseParams obj)
CartesianImpedenceControlMode __init(int _i, ByteBuffer _bb)
static int endCartesianImpedenceControlMode(FlatBufferBuilder builder)
EulerPoseParams __init(int _i, ByteBuffer _bb)
ByteBuffer maxJointSpeedAsByteBuffer()
EulerPose maxCartesianVelocity(EulerPose obj)
static void addMaxControlForceExceededStop(FlatBufferBuilder builder, boolean maxControlForceExceededStop)
int maxJointSpeedLength()
static void addStiffness(FlatBufferBuilder builder, int stiffnessOffset)
static void addMaxPathDeviation(FlatBufferBuilder builder, int maxPathDeviationOffset)
EulerPose maxPathDeviation(EulerPose obj)
EulerPose maxControlForce(EulerPose obj)
boolean maxControlForceExceededStop()
static CartesianImpedenceControlMode getRootAsCartesianImpedenceControlMode(ByteBuffer _bb, CartesianImpedenceControlMode obj)
double nullspaceStiffness()
static void addNullspaceStiffness(FlatBufferBuilder builder, double nullspaceStiffness)
static void addNullspaceDamping(FlatBufferBuilder builder, double nullspaceDamping)
static CartesianImpedenceControlMode getRootAsCartesianImpedenceControlMode(ByteBuffer _bb)
static void addMaxControlForce(FlatBufferBuilder builder, int maxControlForceOffset)
double nullspaceDamping()
EulerPose maxPathDeviation()
static void startMaxJointSpeedVector(FlatBufferBuilder builder, int numElems)
EulerPoseParams stiffness()
EulerPose maxCartesianVelocity()
static void startCartesianImpedenceControlMode(FlatBufferBuilder builder)
double maxJointSpeed(int j)
EulerPose maxControlForce()
static void addMaxCartesianVelocity(FlatBufferBuilder builder, int maxCartesianVelocityOffset)
static void addMaxJointSpeed(FlatBufferBuilder builder, int maxJointSpeedOffset)
static int createMaxJointSpeedVector(FlatBufferBuilder builder, double[] data)