WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
aeroutils.h
Go to the documentation of this file.
1/******************************************************************************
2* Copyright (c) ATTX INC 2026. All Rights Reserved.
3*
4* This software and associated documentation (the "Software") are the
5* proprietary and confidential information of ATTX, INC. The Software is
6* furnished under a license agreement between ATTX and the user organization
7* and may be used or copied only in accordance with the terms of the agreement.
8* Refer to 'license/attx_license.adoc' for standard license terms.
9*
10* EXPORT CONTROL NOTICE: THIS SOFTWARE MAY INCLUDE CONTENT CONTROLLED UNDER THE
11* INTERNATIONAL TRAFFIC IN ARMS REGULATIONS (ITAR) OR THE EXPORT ADMINISTRATION
12* REGULATIONS (EAR99). No part of the Software may be used, reproduced, or
13* transmitted in any form or by any means, for any purpose, without the express
14* written permission of ATTX, INC.
15******************************************************************************/
16
17#ifndef GNCUTILS_STATES_AEROUTILS_H
18#define GNCUTILS_STATES_AEROUTILS_H
19
20#include "types.h"
22#include "core/mathmacros.h"
23
24namespace warpos {
25
31 int16 calcMachNumber(const CartesianVector3 &v_veh__wind, floating_point speed_of_sound, floating_point& mach);
32
37 int16 calcAngleOfAttack(const CartesianVector3 &v_veh__wind, floating_point& angle_of_attack);
38
43 int16 calcSideslipAngle(const CartesianVector3 &v_veh__wind, floating_point& sideslip);
44
45}
46
47#endif
#define CartesianVector3
Definition mathmacros.h:43
Definition DeadReckon.cpp:20
int16 calcMachNumber(const clockwerk::CartesianVector< 3 > &v_veh__wind, floating_point speed_of_sound, floating_point &mach)
Calculate Mach number from velocity and speed of sound.
Definition aeroutils.cpp:22
int16 calcSideslipAngle(const clockwerk::CartesianVector< 3 > &v_veh__wind, floating_point &sideslip)
Calculate sideslip angle from beta = asin(vy/v_inf).
Definition aeroutils.cpp:39
int16 calcAngleOfAttack(const clockwerk::CartesianVector< 3 > &v_veh__wind, floating_point &angle_of_attack)
Calculate angle of attack from alpha = atan(vz/vx).
Definition aeroutils.cpp:31