17#include "gflags/gflags.h"
28int main(int32_t argc,
char** argv) {
29 google::InitGoogleLogging(argv[0]);
30 FLAGS_alsologtostderr =
true;
33 google::ParseCommandLineFlags(&argc, &argv,
true);
38 <<
" yaw:" << euler.
yaw();
42 <<
" heading degree: "
Any orientation of a rigid body on a 3-D space can be achieved by composing three rotations about the...
T roll() const
Getter for roll_
T pitch() const
Getter for pitch_
T yaw() const
Getter for yaw_
Defines the EulerAnglesZXY class.
double QuaternionToHeading(const double qw, const double qx, const double qy, const double qz)
Contains a number of helper functions related to quaternions.
DEFINE_double(qx, 0, "quaternion x")
int main(int32_t argc, char **argv)