mavsdk::Quaternion Struct Reference ​
#include: math_utils.hpp
Quaternion (Hamilton convention) representing a rotation.
Components are ordered (w, x, y, z), where w is the scalar part. By MAVSDK convention this represents the rotation from local NED earth frame to body FRD frame.
Data Fields ​
float w - Scalar component.
float x - Vector component along the x-axis.
float y - Vector component along the y-axis.
float z - Vector component along the z-axis.
Field Documentation ​
w ​
cpp
float mavsdk::Quaternion::wScalar component.
x ​
cpp
float mavsdk::Quaternion::xVector component along the x-axis.
y ​
cpp
float mavsdk::Quaternion::yVector component along the y-axis.
z ​
cpp
float mavsdk::Quaternion::zVector component along the z-axis.

