forked from CPL/Simulator
edit proshivka
This commit is contained in:
15
DroneClientCpp/Orientation.h
Normal file
15
DroneClientCpp/Orientation.h
Normal file
@ -0,0 +1,15 @@
|
||||
#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);
|
Reference in New Issue
Block a user