--- yodaUtility/YMcmd.h 2006/04/30 11:08:14 1.1 +++ yodaUtility/YMcmd.h 2006/06/10 05:32:47 1.2 @@ -65,6 +65,51 @@ const char* toXML(char*); }; +class OrbitalInfoItem : public McmdItem{ + public: + double time; + + /* Position in Km */ + /*pos[0] = pos_X*/ + /*pos[1] = pos_Y*/ + /*pos[2] = pos_Z*/ + double pos[3]; + + /* Velocity in Km/s */ + /*vel[0] = vel_X*/ + /*vel[1] = vel_Y*/ + /*vel[2] = vel_Z*/ + double vel[3]; + + OrbitalInfoItem() : McmdItem(){} + ~OrbitalInfoItem() {} + + void fill(TArrayC* data); + const char* toXML(char*); +}; + +class InclinationInfoItem : public McmdItem{ + public: + /* Quaternions Lx_y + / The data are organized in 5 groups according to the format + / time - L0 - L1 - L2 - L3 + / time[0] - quat[0][0] - quat[0][1] - quat[0][2] - quat[0][3] + / time[1] - quat[1][0] - quat[1][1] - quat[1][2] - quat[1][3] + / time[2] - quat[2][0] - quat[2][1] - quat[2][2] - quat[2][3] + / time[3] - quat[3][0] - quat[3][1] - quat[3][2] - quat[3][3] + / time[4] - quat[4][0] - quat[4][1] - quat[4][2] - quat[4][3] + / time[5] - quat[5][0] - quat[5][1] - quat[5][2] - quat[5][3] + */ + double time[6]; + double quat[6][4]; + + InclinationInfoItem() : McmdItem(){} + ~InclinationInfoItem() {} + + void fill(TArrayC* data); + const char* toXML(char*); +}; + //For now i dont store the Parameters sequence class SelectOpModeItem : public McmdItem{ public: