3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class CartesianImpedenceControlMode extends Table {
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.0; }
53 public double nullspaceStiffness() {
int o = __offset(18);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.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.0); }
65 public static void addNullspaceStiffness(FlatBufferBuilder builder,
double nullspaceStiffness) { builder.addDouble(7, nullspaceStiffness, 0.0); }
67 int o = builder.endObject();
CartesianImpedenceControlMode __init(int _i, ByteBuffer _bb)
static int endCartesianImpedenceControlMode(FlatBufferBuilder builder)
ByteBuffer maxJointSpeedAsByteBuffer()
static void addMaxControlForceExceededStop(FlatBufferBuilder builder, boolean maxControlForceExceededStop)
grl.flatbuffer.EulerPoseParams stiffness()
int maxJointSpeedLength()
grl.flatbuffer.EulerPose maxCartesianVelocity()
static void addStiffness(FlatBufferBuilder builder, int stiffnessOffset)
static void addMaxPathDeviation(FlatBufferBuilder builder, int maxPathDeviationOffset)
grl.flatbuffer.EulerPose maxControlForce(grl.flatbuffer.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)
grl.flatbuffer.EulerPoseParams stiffness(grl.flatbuffer.EulerPoseParams obj)
grl.flatbuffer.EulerPose maxPathDeviation()
static CartesianImpedenceControlMode getRootAsCartesianImpedenceControlMode(ByteBuffer _bb)
static void addMaxControlForce(FlatBufferBuilder builder, int maxControlForceOffset)
grl.flatbuffer.EulerPose maxCartesianVelocity(grl.flatbuffer.EulerPose obj)
double nullspaceDamping()
static void startMaxJointSpeedVector(FlatBufferBuilder builder, int numElems)
static void startCartesianImpedenceControlMode(FlatBufferBuilder builder)
grl.flatbuffer.EulerPose maxControlForce()
grl.flatbuffer.EulerPose maxPathDeviation(grl.flatbuffer.EulerPose obj)
double maxJointSpeed(int j)
static void addMaxCartesianVelocity(FlatBufferBuilder builder, int maxCartesianVelocityOffset)
static void addMaxJointSpeed(FlatBufferBuilder builder, int maxJointSpeedOffset)
static int createMaxJointSpeedVector(FlatBufferBuilder builder, double[] data)