00001 ////////////////////////////////////////////////////////////////////////////////////////////////// 00002 /*! \file COENaaszController.h 00003 * \brief Template file for implenting orbit control law 00004 * \author $Author: jayhawk_hokie $ 00005 * \version $Revision: 1.1 $ 00006 * \date $Date: 2007/08/31 15:58:35 $ 00007 *////////////////////////////////////////////////////////////////////////////////////////////////// 00008 /*! 00009 */ 00010 ////////////////////////////////////////////////////////////////////////////////////////////////// 00011 00012 #ifndef __SSSL_COENAASZORBITCONTROL_H__ 00013 #define __SSSL_COENAASZORBITCONTROL_H__ 00014 00015 #include "OrbitController.h" 00016 00017 using namespace std; 00018 using namespace O_SESSAME; 00019 00020 class COENaaszController : public OrbitController { 00021 00022 public: 00023 /** Constructors */ 00024 COENaaszController( ); 00025 COENaaszController( Whorl* ptr_whorl ); 00026 00027 /** Destructor */ 00028 virtual ~COENaaszController( ); 00029 00030 /*! Runs the default controller */ 00031 int Run( ); 00032 00033 /*! Initializes the default controller */ 00034 int Initialize( ); 00035 00036 00037 Vector Gains(Vector ECI, Vector VECI, Vector eHAT, double dt); 00038 00039 Vector COENaasz(Vector ECI, Vector VECI, Vector de, Vector eHAT, Vector gains, double tru); 00040 00041 00042 00043 protected: 00044 00045 /* Orbital Element Gains */ 00046 Vector m_Gains; 00047 00048 /* Initial Time */ 00049 ssfTime m_initialTime; 00050 00051 /* Acceleration Message for GPS Propagator */ 00052 AccelerationMessage* accelerationVector; 00053 00054 00055 }; 00056 00057 #endif 00058 00059 // Do not change the comments below - they will be added automatically by CVS 00060 /***************************************************************************** 00061 * $Log: COENaaszController.h,v $ 00062 * Revision 1.1 2007/08/31 15:58:35 jayhawk_hokie 00063 * Initial Submission. 00064 * 00065 * Revision 1.1 2007/07/24 09:22:24 jayhawk_hokie 00066 * Initial submission. 00067 * 00068 * 00069 * 00070 ******************************************************************************/ 00071