removed rotation for sun pointing
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
parent
9791c11c99
commit
8fa1d69db3
@ -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};
|
||||||
|
Loading…
Reference in New Issue
Block a user