| 37 |
q3 = -1000.; |
q3 = -1000.; |
| 38 |
|
|
| 39 |
// Euler angles (nadir reference frame) |
// Euler angles (nadir reference frame) |
| 40 |
// theta = -1000.; |
theta = -1000.; |
| 41 |
// phi = -1000.; |
phi = -1000.; |
| 42 |
// etha = -1000.; |
etha = -1000.; |
| 43 |
|
|
| 44 |
// Euler angles (local field reference frame) |
// Euler angles (local field reference frame) |
| 45 |
// thetamag = -1000.; |
thetamag = -1000.; |
| 46 |
// phimag = -1000.; |
phimag = -1000.; |
| 47 |
// ethamag = -1000.; |
ethamag = -1000.; |
| 48 |
|
|
| 49 |
std::fill_n(goodAttitude, 5, 0); |
std::fill_n(goodAttitude, 5, 0); |
| 50 |
} |
} |
| 87 |
q3 = -1000.; |
q3 = -1000.; |
| 88 |
|
|
| 89 |
// Euler angles (nadir reference frame) |
// Euler angles (nadir reference frame) |
| 90 |
// theta = -1000.; |
theta = -1000.; |
| 91 |
// phi = -1000.; |
phi = -1000.; |
| 92 |
// etha = -1000.; |
etha = -1000.; |
| 93 |
|
|
| 94 |
// Euler angles (local field reference frame) |
// Euler angles (local field reference frame) |
| 95 |
//thetamag = -1000.; |
thetamag = -1000.; |
| 96 |
// phimag = -1000.; |
phimag = -1000.; |
| 97 |
//ethamag = -1000.; |
ethamag = -1000.; |
| 98 |
|
|
| 99 |
std::fill_n(goodAttitude, 5, 0); |
std::fill_n(goodAttitude, 5, 0); |
| 100 |
} |
} |
| 139 |
l2->q3 = q3; |
l2->q3 = q3; |
| 140 |
|
|
| 141 |
// Euler angles (nadir reference frame) |
// Euler angles (nadir reference frame) |
| 142 |
// l2->theta = theta; |
l2->theta = theta; |
| 143 |
// l2->phi = phi; |
l2->phi = phi; |
| 144 |
// l2->etha = etha; |
l2->etha = etha; |
| 145 |
|
|
| 146 |
// Euler angles (local field reference frame) |
// Euler angles (local field reference frame) |
| 147 |
// l2->thetamag = thetamag; |
l2->thetamag = thetamag; |
| 148 |
// l2->phimag = phimag; |
l2->phimag = phimag; |
| 149 |
// l2->ethamag = ethamag; |
l2->ethamag = ethamag; |
| 150 |
|
|
| 151 |
memcpy(l2->goodAttitude, goodAttitude, sizeof(goodAttitude)); |
memcpy(l2->goodAttitude, goodAttitude, sizeof(goodAttitude)); |
| 152 |
} |
} |
| 188 |
q3 = l2->q3; |
q3 = l2->q3; |
| 189 |
|
|
| 190 |
// Euler angles (nadir reference frame) |
// Euler angles (nadir reference frame) |
| 191 |
//theta = l2->theta; |
theta = l2->theta; |
| 192 |
//phi = l2->phi; |
phi = l2->phi; |
| 193 |
//etha = l2->etha; |
etha = l2->etha; |
| 194 |
|
|
| 195 |
// Euler angles (local field reference frame) |
// Euler angles (local field reference frame) |
| 196 |
//thetamag = l2->thetamag; |
thetamag = l2->thetamag; |
| 197 |
//phimag = l2->phimag; |
phimag = l2->phimag; |
| 198 |
//ethamag = l2->ethamag; |
ethamag = l2->ethamag; |
| 199 |
|
|
| 200 |
memcpy(goodAttitude, l2->goodAttitude, sizeof(l2->goodAttitude)); |
memcpy(goodAttitude, l2->goodAttitude, sizeof(l2->goodAttitude)); |
| 201 |
} |
} |