dronecode_sdk::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 dronecode_sdk::Telemetry::Quaternion::w

Quaternion entry 0 also denoted as a.

x

float dronecode_sdk::Telemetry::Quaternion::x

Quaternion entry 1 also denoted as b.

y

float dronecode_sdk::Telemetry::Quaternion::y

Quaternion entry 2 also denoted as c.

z

float dronecode_sdk::Telemetry::Quaternion::z

Quaternion entry 3 also denoted as d.

© Dronecode 2017. License: CC BY 4.0            Updated: 2018-07-12 03:09:32

results matching ""

    No results matching ""