removed rotation for sun pointing
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Marius Eggert 2023-01-16 15:23:20 +01:00
parent 9791c11c99
commit 8fa1d69db3

View File

@ -413,14 +413,8 @@ void Guidance::sunQuatPtg(ACS::SensorValues *sensorValues, acsctrl::MekfData *me
double posSatE[3] = {0, 0, 0}; double posSatE[3] = {0, 0, 0};
std::memcpy(gpsDataProcessed->gpsPosition.value, posSatE, 3 * sizeof(double)); std::memcpy(gpsDataProcessed->gpsPosition.value, posSatE, 3 * sizeof(double));
// Check whether Sat is above or below equator // Assign helper vector (north pole inertial)
// Assign helper vector (north pole inertial) accordingly double helperVec[3] = {0, 0, 1};
double helperVec[3] = {0, 0, 0};
if (posSatE[2] > 0) {
helperVec[2] = 1;
} else {
helperVec[2] = -1;
}
// //
double yAxis[3] = {0, 0, 0}; double yAxis[3] = {0, 0, 0};