mavsdk::Telemetry::Quaternion Struct Reference

#include: telemetry.h


Quaternion type.

All rotations and axis systems follow the right-hand rule. The Hamilton quaternion product definition is used. A zero-rotation quaternion is represented by (1,0,0,0). The quaternion could also be written as w + xi + yj + zk.

For more info see: https://en.wikipedia.org/wiki/Quaternion

Data Fields

float w - Quaternion entry 0 also denoted as a.

float x - Quaternion entry 1 also denoted as b.

float y - Quaternion entry 2 also denoted as c.

float z - Quaternion entry 3 also denoted as d.

Field Documentation

w

float mavsdk::Telemetry::Quaternion::w

Quaternion entry 0 also denoted as a.

x

float mavsdk::Telemetry::Quaternion::x

Quaternion entry 1 also denoted as b.

y

float mavsdk::Telemetry::Quaternion::y

Quaternion entry 2 also denoted as c.

z

float mavsdk::Telemetry::Quaternion::z

Quaternion entry 3 also denoted as d.

© Dronecode 2017-2019. License: CC BY 4.0            Updated: 2019-11-05 22:27:07

results matching ""

    No results matching ""