added normalization of sun model vector
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
This commit is contained in:
parent
9d6206302a
commit
f60fe1ed02
@ -198,6 +198,7 @@ void SensorProcessing::processSus(
|
|||||||
sunIjkModel[0] = cos(eclipticLongitude);
|
sunIjkModel[0] = cos(eclipticLongitude);
|
||||||
sunIjkModel[1] = sin(eclipticLongitude) * cos(epsilon);
|
sunIjkModel[1] = sin(eclipticLongitude) * cos(epsilon);
|
||||||
sunIjkModel[2] = sin(eclipticLongitude) * sin(epsilon);
|
sunIjkModel[2] = sin(eclipticLongitude) * sin(epsilon);
|
||||||
|
VectorOperations<double>::normalize(sunIjkModel, sunIjkModel, 3);
|
||||||
|
|
||||||
uint64_t susBrightness[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
uint64_t susBrightness[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||||
if (sus0valid) {
|
if (sus0valid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user