#ifndef QUATERNION_H
#define QUATERNION_H

namespace geometry_msgs
{

struct Quaternion
{
    double x;
    double y;
    double z;
    double w;

    // Constructor mặc định
    Quaternion() : x(0.0), y(0.0), z(0.0), w(0.0) {}

    // Constructor khởi tạo nhanh
    Quaternion(double x_, double y_, double z_, double w_)
        : x(x_), y(y_), z(z_), w(w_) {}
};

} // namespace geometry_msgs

#endif // QUATERNION_H