Aerospace Control Framework 1.0
sc_aero_actuator_table.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 __AERO_ACTUATOR_TABLE__
8#define __AERO_ACTUATOR_TABLE__
9
10#ifdef AS_OS_WINDOWS
11 #include "matrixlib.h"
12#else
13 #include <MatrixLib/MatrixLib.h>
14#endif
15
17
19
21
32{
33
34 private:
36 ml_matrix mach_no;
38 ml_matrix altitude;
40 ml_matrix x_force_table;
42 ml_matrix y_force_table;
44 ml_matrix z_force_table;
46 int initialized;
48 ml_matrix center_of_mass;
50 ml_matrix position;
52 ml_matrix torque;
54 ml_matrix force;
55
56
57 public:
59 aero_actuator_table( void );
61 void initialize( char * filename );
63 void set_center_of_mass( ml_matrix center_of_mass ){this->center_of_mass = center_of_mass;};
65 void set_position( ml_matrix position ){this->position = position;};
67 ml_matrix get_torque( void ){ return torque; };
69 ml_matrix get_force( void ){ return force; };
71 void update( double h, double m );
72
73};
74
75
76#endif
Aircraft table lookup.
Definition: sc_aero_actuator_table.h:32
aero_actuator_table(void)
Constructor.
Definition: sc_aero_actuator_table.cc:15
void set_center_of_mass(ml_matrix center_of_mass)
Set the center of mass.
Definition: sc_aero_actuator_table.h:63
ml_matrix get_torque(void)
Return the torque.
Definition: sc_aero_actuator_table.h:67
void update(double h, double m)
Update the values of torque and force.
Definition: sc_aero_actuator_table.cc:109
void initialize(char *filename)
Initialize with a filename.
Definition: sc_aero_actuator_table.cc:29
void set_position(ml_matrix position)
Set the position.
Definition: sc_aero_actuator_table.h:65
ml_matrix get_force(void)
Return the force.
Definition: sc_aero_actuator_table.h:69