88 Eigen::Vector3d m_v{0.0, 0.0, 0.0};
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
Definition: Quaternion.h:17
Quaternion()=default
Constructs a quaternion with a default angle of 0 degrees.
bool operator==(const Quaternion &other) const
Checks equality between this Quaternion and another object.
double W() const
Returns W component of the quaternion.
Eigen::Vector3d ToRotationVector() const
Returns the rotation vector representation of this quaternion.
Quaternion Normalize() const
Normalizes the quaternion.
Quaternion operator*(const Quaternion &other) const
Multiply with another quaternion.
Quaternion Inverse() const
Returns the inverse of the quaternion.
double Z() const
Returns Z component of the quaternion.
double X() const
Returns X component of the quaternion.
double Y() const
Returns Y component of the quaternion.
Quaternion(double w, double x, double y, double z)
Constructs a quaternion with the given components.
a class to store JSON values
Definition: json.h:2655
const Scalar & y
Definition: MathFunctions.h:821
Definition: AprilTagFieldLayout.h:22
WPILIB_DLLEXPORT void from_json(const wpi::json &json, AprilTagFieldLayout &layout)
WPILIB_DLLEXPORT void to_json(wpi::json &json, const AprilTagFieldLayout &layout)
/file This file defines the SmallVector class.
Definition: AprilTagFieldLayout.h:18