Aerospace Control Framework 1.0
sc_aero_low_speed.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------------------
2// A filter
3//-----------------------------------------------------------------------------------------
4// Copyright (c) 2009 Princeton Satellite Systems. All rights reserved.
5//-----------------------------------------------------------------------------------------
6
7#ifndef __SC_AERO_LOW_SPEED__
8#define __SC_AERO_LOW_SPEED__
9
10#ifdef AS_OS_WINDOWS
11 #include "matrixlib.h"
12#else
13 #include <MatrixLib/MatrixLib.h>
14#endif
15
16#include "sc_aero.h"
17#include <SCControl/sc_stdatm.h>
18
19
21
23
25
38{
39
40 private:
42 ml_matrix torque;
44 ml_matrix force;
46 int initialized;
48 int n_surfaces;
49
50 low_speed_aero_t *aero_surf;
51
52 public:
54 aero_low_speed( void );
56 void initialize( char * filename );
58 ml_matrix get_torque( void ){ return torque; };
60 ml_matrix get_force( void ){ return force; };
62 void update( const ml_matrix& u, const ml_matrix& center_of_mass, double rho, const ml_matrix& hinge_angle, double speedOfSound, double kinematicViscosity );
63
64
65};
66
67
68#endif
low_speed aerodynamic model
Definition: sc_aero_low_speed.h:38
aero_low_speed(void)
Constructor.
Definition: sc_aero_low_speed.cc:17
void initialize(char *filename)
Initialize with a filename.
Definition: sc_aero_low_speed.cc:29
void update(const ml_matrix &u, const ml_matrix &center_of_mass, double rho, const ml_matrix &hinge_angle, double speedOfSound, double kinematicViscosity)
Update the values of torque and force.
Definition: sc_aero_low_speed.cc:109
ml_matrix get_torque(void)
Return the torque.
Definition: sc_aero_low_speed.h:58
ml_matrix get_force(void)
Return the force.
Definition: sc_aero_low_speed.h:60
Aerodynamic functions.
Structure for storing the low speed aero data.
Definition: sc_aero.h:60