14 #include "Constants.h"
21 enum class Type { EulerAngles_t, Quaternion_t };
24 Attitude(Attitude::Type atype) : _attitude_type(atype) {};
30 virtual void ypr(
double tintp,
double& yaw,
double& pitch,
double& roll) = 0;
33 virtual Mat3 rotmat(
double tintp,
const std::string,
double d0 = 0,
34 double d1 = 0,
double d2 = 0,
double d3 = 0) = 0;
37 inline Attitude::Type
attitudeType()
const {
return _attitude_type; }
47 Attitude::Type _attitude_type;
48 std::string _yaw_orientation;
53 _yaw_orientation = orientation;
virtual Mat3 rotmat(double tintp, const std::string, double d0=0, double d1=0, double d2=0, double d3=0)=0
Virtual function return rotation matrix with optional perturbations.
virtual ~Attitude()
Virtual destructor.
Definition: Attitude.cpp:11
Base class for attitude data representation.
Definition: Attitude.h:18
Attitude(Attitude::Type atype)
Constructor using time attitude representation type.
Definition: Attitude.h:24
Definition: DenseMatrix.h:13
Attitude::Type attitudeType() const
Return type of attitude representation - quaternion or euler angle.
Definition: Attitude.h:37
virtual void ypr(double tintp, double &yaw, double &pitch, double &roll)=0
Virtual function to return yaw, pitch, roll.
std::string yawOrientation() const
Return yaw orientation - central or normal.
Definition: Attitude.h:40