4#include "TinyRobotics/units/Units.h"
6namespace tinyrobotics {
9
10
11
12
15 Orientation3D() =
default;
16 Orientation3D(
float yaw,
float pitch,
float roll)
18 Orientation3D(
Angle yaw,
Angle pitch,
Angle roll) { set(yaw, pitch, roll); }
28 void set(
float newYaw,
float newPitch,
float newRoll) {
41 yaw = normalizeAngleRad(
yaw);
Represents an angle with unit conversion and wrap-around support.
Definition: Angle.h:42
Simple 3D orientation class (yaw, pitch, roll in radians)
Definition: Orientation3D.h:13
float roll
Roll angle (radians)
Definition: Orientation3D.h:22
float pitch
Pitch angle (radians)
Definition: Orientation3D.h:21
float yaw
Yaw angle (radians)
Definition: Orientation3D.h:20
AngleUnit
Supported angle units for conversion and representation.
Definition: Angle.h:11