WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
aeroutils.h File Reference
#include "types.h"
#include "core/CartesianVector.hpp"
#include "core/mathmacros.h"

Go to the source code of this file.

Namespaces

namespace  warpos

Functions

int16 warpos::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.
int16 warpos::calcAngleOfAttack (const clockwerk::CartesianVector< 3 > &v_veh__wind, floating_point &angle_of_attack)
 Calculate angle of attack from alpha = atan(vz/vx).
int16 warpos::calcSideslipAngle (const clockwerk::CartesianVector< 3 > &v_veh__wind, floating_point &sideslip)
 Calculate sideslip angle from beta = asin(vy/v_inf).