WIP: PFD instrument

This commit is contained in:
Marek S. Łukasiewicz 2025-12-15 23:01:10 +01:00
parent 4be36eb39e
commit 740a72bcb6
23 changed files with 432 additions and 32 deletions

View file

@ -39,6 +39,7 @@ public:
// Get current state of the aircraft
Transform3D get_aircraft();
Vector3 get_velocity();
// Get normalized (-1 to 1) cyclic position, where X is right, Y is pitch up
Vector2 get_cyclic();
// Get normalized (0 to 1) collective position, positive to climb
@ -118,6 +119,7 @@ private:
// Or not, in practice the simple solution works nicely
Vector3 last_location;
Quaternion last_rotation;
Vector3 last_velocity;
Vector4 last_controls;
Vector4 last_trim;