mavsdk::Gimbal::EulerAngle Struct Reference ​
#include: gimbal.h
Euler angle type.
All rotations and axis systems follow the right-hand rule. The Euler angles are converted using the 3-1-2 sequence instead of standard 3-2-1 in order to avoid the gimbal lock at 90 degrees down.
For more info see https://en.wikipedia.org/wiki/Euler_angles
Data Fields ​
float roll_deg { float(NAN)} - Roll angle in degrees, positive is banking to the right.
float pitch_deg { float(NAN)} - Pitch angle in degrees, positive is pitching nose up.
float yaw_deg { float(NAN)} - Yaw angle in degrees, positive is clock-wise seen from above.
Field Documentation ​
roll_deg ​
cpp
float mavsdk::Gimbal::EulerAngle::roll_deg { float(NAN)}
Roll angle in degrees, positive is banking to the right.
pitch_deg ​
cpp
float mavsdk::Gimbal::EulerAngle::pitch_deg { float(NAN)}
Pitch angle in degrees, positive is pitching nose up.
yaw_deg ​
cpp
float mavsdk::Gimbal::EulerAngle::yaw_deg { float(NAN)}
Yaw angle in degrees, positive is clock-wise seen from above.