3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class
Inertia extends Struct {
12 public Inertia __init(
int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb;
return this; }
14 public double mass() {
return bb.getDouble(bb_pos + 0); }
17 public double ixx() {
return bb.getDouble(bb_pos + 64); }
18 public double ixy() {
return bb.getDouble(bb_pos + 72); }
19 public double ixz() {
return bb.getDouble(bb_pos + 80); }
20 public double iyy() {
return bb.getDouble(bb_pos + 88); }
21 public double iyz() {
return bb.getDouble(bb_pos + 96); }
22 public double izz() {
return bb.getDouble(bb_pos + 104); }
24 public static int createInertia(FlatBufferBuilder builder,
double mass,
double pose_position_x,
double pose_position_y,
double pose_position_z,
double pose_orientation_x,
double pose_orientation_y,
double pose_orientation_z,
double pose_orientation_w,
double ixx,
double ixy,
double ixz,
double iyy,
double iyz,
double izz) {
26 builder.putDouble(izz);
27 builder.putDouble(iyz);
28 builder.putDouble(iyy);
29 builder.putDouble(ixz);
30 builder.putDouble(ixy);
31 builder.putDouble(ixx);
34 builder.putDouble(pose_orientation_w);
35 builder.putDouble(pose_orientation_z);
36 builder.putDouble(pose_orientation_y);
37 builder.putDouble(pose_orientation_x);
39 builder.putDouble(pose_position_z);
40 builder.putDouble(pose_position_y);
41 builder.putDouble(pose_position_x);
42 builder.putDouble(mass);
43 return builder.offset();
static int createInertia(FlatBufferBuilder builder, double mass, double pose_position_x, double pose_position_y, double pose_position_z, double pose_orientation_x, double pose_orientation_y, double pose_orientation_z, double pose_orientation_w, double ixx, double ixy, double ixz, double iyy, double iyz, double izz)
Pose __init(int _i, ByteBuffer _bb)
Inertia __init(int _i, ByteBuffer _bb)