--- DarthVader/OrbitalInfo/src/OrbitalInfo.cpp 2006/11/30 15:46:45 1.6 +++ DarthVader/OrbitalInfo/src/OrbitalInfo.cpp 2007/04/18 14:06:50 1.9 @@ -41,12 +41,12 @@ phi = -1000.; etha = -1000.; - // Euler angles (local field reference frame) - thetamag = -1000.; - phimag = -1000.; - ethamag = -1000.; - - std::fill_n(goodAttitude, 5, 0); +// // Euler angles (local field reference frame) +// thetamag = -1000.; +// phimag = -1000.; +// ethamag = -1000.; + mode = 0; +// std::fill_n(goodAttitude, 5, 0); } @@ -92,11 +92,12 @@ etha = -1000.; // Euler angles (local field reference frame) - thetamag = -1000.; - phimag = -1000.; - ethamag = -1000.; + // thetamag = -1000.; + // phimag = -1000.; + // ethamag = -1000.; - std::fill_n(goodAttitude, 5, 0); + mode = 0; + // std::fill_n(goodAttitude, 5, 0); } /** @@ -143,12 +144,13 @@ l2->phi = phi; l2->etha = etha; + l2->mode = mode; // Euler angles (local field reference frame) - l2->thetamag = thetamag; - l2->phimag = phimag; - l2->ethamag = ethamag; +// l2->thetamag = thetamag; +// l2->phimag = phimag; +// l2->ethamag = ethamag; - memcpy(l2->goodAttitude, goodAttitude, sizeof(goodAttitude)); +// memcpy(l2->goodAttitude, goodAttitude, sizeof(goodAttitude)); } void OrbitalInfo::SetFromLevel2Struct(cOrbitalInfo *l2){ @@ -192,12 +194,13 @@ phi = l2->phi; etha = l2->etha; + mode = l2->mode; // Euler angles (local field reference frame) - thetamag = l2->thetamag; - phimag = l2->phimag; - ethamag = l2->ethamag; +// thetamag = l2->thetamag; +// phimag = l2->phimag; +// ethamag = l2->ethamag; - memcpy(goodAttitude, l2->goodAttitude, sizeof(l2->goodAttitude)); +// memcpy(goodAttitude, l2->goodAttitude, sizeof(l2->goodAttitude)); } ClassImp(OrbitalInfo)