3 #ifndef FLATBUFFERS_GENERATED_GEOMETRY_GRL_FLATBUFFER_H_ 4 #define FLATBUFFERS_GENERATED_GEOMETRY_GRL_FLATBUFFER_H_ 6 #include "flatbuffers/flatbuffers.h" 10 namespace flatbuffer {
25 Vector3d(
double x,
double y,
double z)
26 : x_(flatbuffers::EndianScalar(x)), y_(flatbuffers::EndianScalar(y)), z_(flatbuffers::EndianScalar(z)) { }
28 double x()
const {
return flatbuffers::EndianScalar(x_); }
29 double y()
const {
return flatbuffers::EndianScalar(y_); }
30 double z()
const {
return flatbuffers::EndianScalar(z_); }
42 Quaternion(
double x,
double y,
double z,
double w)
43 : x_(flatbuffers::EndianScalar(x)), y_(flatbuffers::EndianScalar(y)), z_(flatbuffers::EndianScalar(z)), w_(flatbuffers::EndianScalar(w)) { }
45 double x()
const {
return flatbuffers::EndianScalar(x_); }
46 double y()
const {
return flatbuffers::EndianScalar(y_); }
47 double z()
const {
return flatbuffers::EndianScalar(z_); }
48 double w()
const {
return flatbuffers::EndianScalar(w_); }
55 Quaternion orientation_;
58 Pose(
const Vector3d &position,
const Quaternion &orientation)
59 : position_(position), orientation_(orientation) { }
61 const Vector3d &position()
const {
return position_; }
62 const Quaternion &orientation()
const {
return orientation_; }
70 Vector3d force_offset_;
73 Wrench(
const Vector3d &force,
const Vector3d &torque,
const Vector3d &force_offset)
74 : force_(force), torque_(torque), force_offset_(force_offset) { }
76 const Vector3d &force()
const {
return force_; }
77 const Vector3d &torque()
const {
return torque_; }
78 const Vector3d &force_offset()
const {
return force_offset_; }
94 Inertia(
double mass,
const Pose &pose,
double ixx,
double ixy,
double ixz,
double iyy,
double iyz,
double izz)
95 : mass_(flatbuffers::EndianScalar(mass)), pose_(pose), ixx_(flatbuffers::EndianScalar(ixx)), ixy_(flatbuffers::EndianScalar(ixy)), ixz_(flatbuffers::EndianScalar(ixz)), iyy_(flatbuffers::EndianScalar(iyy)), iyz_(flatbuffers::EndianScalar(iyz)), izz_(flatbuffers::EndianScalar(izz)) { }
97 double mass()
const {
return flatbuffers::EndianScalar(mass_); }
98 const Pose &pose()
const {
return pose_; }
99 double ixx()
const {
return flatbuffers::EndianScalar(ixx_); }
100 double ixy()
const {
return flatbuffers::EndianScalar(ixy_); }
101 double ixz()
const {
return flatbuffers::EndianScalar(ixz_); }
102 double iyy()
const {
return flatbuffers::EndianScalar(iyy_); }
103 double iyz()
const {
return flatbuffers::EndianScalar(iyz_); }
104 double izz()
const {
return flatbuffers::EndianScalar(izz_); }
111 #endif // FLATBUFFERS_GENERATED_GEOMETRY_GRL_FLATBUFFER_H_
MANUALLY_ALIGNED_STRUCT(8) EulerXYZd FLATBUFFERS_FINAL_CLASS
STRUCT_END(EulerXYZd, 24)