Aerospace Control Framework 1.0
sc_aero_suborb.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------------------
2// A filter
3//-----------------------------------------------------------------------------------------
4// Copyright (c) 2011, 2021 Princeton Satellite Systems. All rights reserved.
5//-----------------------------------------------------------------------------------------
6
7#ifndef __SC_AERO_SUBORB__
8#define __SC_AERO_SUBORB__
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
20
23
36{
37
38 private:
40 ml_matrix torque;
42 ml_matrix force;
44 int initialized;
46 int n_surfaces;
47
48 suborb_aero_t *aero_surf;
49
50 StdAtm p;
51
52 public:
54 aero_suborb( 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 h );
63
64
65};
66
67
68#endif
suborbital aerodynamic model.
Definition: sc_aero_suborb.h:36
ml_matrix get_torque(void)
Return the torque.
Definition: sc_aero_suborb.h:58
void initialize(char *filename)
Initialize with a filename.
Definition: sc_aero_suborb.cc:29
ml_matrix get_force(void)
Return the force.
Definition: sc_aero_suborb.h:60
aero_suborb(void)
Constructor.
Definition: sc_aero_suborb.cc:17
void update(const ml_matrix &u, const ml_matrix &center_of_mass, double rho, const ml_matrix &hinge_angle, double h)
Update the values of torque and force.
Definition: sc_aero_suborb.cc:101
Aerodynamic functions.
Structure for storing the suborb aero data.
Definition: sc_aero.h:75