Final Version of the ACS Controller #367
@ -415,9 +415,9 @@ void Guidance::sunQuatPtg(ACS::SensorValues *sensorValues, acsctrl::MekfData *me
|
|||||||
// Assign helper vector (north pole inertial) accordingly
|
// Assign helper vector (north pole inertial) accordingly
|
||||||
double helperVec[3] = {0, 0, 0};
|
double helperVec[3] = {0, 0, 0};
|
||||||
if (posSatE[2] > 0) {
|
if (posSatE[2] > 0) {
|
||||||
double helperVec[2] = 1;
|
helperVec[2] = 1;
|
||||||
} else {
|
} else {
|
||||||
double helperVec[2] = -1;
|
helperVec[2] = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user