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 {float(NAN)} - Quaternion entry 0, also denoted as a.

float x {float(NAN)} - Quaternion entry 1, also denoted as b.

float y {float(NAN)} - Quaternion entry 2, also denoted as c.

float z {float(NAN)} - Quaternion entry 3, also denoted as d.

uint64_t timestamp_us {} - Timestamp in microseconds.

Field Documentation

w

float mavsdk::Telemetry::Quaternion::w {float(NAN)}

Quaternion entry 0, also denoted as a.

x

float mavsdk::Telemetry::Quaternion::x {float(NAN)}

Quaternion entry 1, also denoted as b.

y

float mavsdk::Telemetry::Quaternion::y {float(NAN)}

Quaternion entry 2, also denoted as c.

z

float mavsdk::Telemetry::Quaternion::z {float(NAN)}

Quaternion entry 3, also denoted as d.

timestamp_us

uint64_t mavsdk::Telemetry::Quaternion::timestamp_us {}

Timestamp in microseconds.

© MAVSDK Development Team 2017-2023. License: CC BY 4.0            Updated: 2023-12-27 03:10:20

results matching ""

    No results matching ""