Files
Simulator/DroneClientCpp/Orientation.h
Dana Markova 27a120fc7f edit proshivka
2025-04-30 12:16:18 +03:00

15 lines
368 B
C

#pragma once
struct Vec3 {
float x, y, z;
};
struct ORI
{
float Tilt; // Earth's plane tilt
float Pitch, Roll, Yaw; // Sovereign orientation (not Euler)
float IneX, IneY, IneZ; // Inertial accelerations
};
ORI WorkAccGyroMag(const Vec3 acc, const Vec3 gyr, const Vec3 mag, const float mag_shift, const float alpha);
float calculateHeight(float bar, float temp);