SUS Total Vector Eclipse Fix #684
No reviewers
Labels
No Label
OPS TODO
api change
breaking api change
bug
documentation
duplicate
feature
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: eive/eive-obsw#684
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "sus-tot-reset-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The SUS Total Vector was not being reset to [0,0,0] during eclipse. This is however only a visual bug, due to it still being set invalid and therefore not being used.
SUS Total Vector Eclipse Fixto WIP: SUS Total Vector Eclipse FixWIP: SUS Total Vector Eclipse Fixto SUS Total Vector Eclipse Fix@ -24,2 +24,4 @@
const AcsParameters *acsParameters); // Will call protected functions
private:
static constexpr float ZERO_VEC_F[3] = {0, 0, 0};
static constexpr float ZERO_VEC_D[3] = {0, 0, 0};
I guess this should be a double?
fixed
@ -56,0 +50,4 @@
std::memcpy(mgmDataProcessed->mgm2vec.value, ZERO_VEC_F, 3 * sizeof(float));
std::memcpy(mgmDataProcessed->mgm3vec.value, ZERO_VEC_F, 3 * sizeof(float));
std::memcpy(mgmDataProcessed->mgm4vec.value, ZERO_VEC_F, 3 * sizeof(float));
std::memcpy(mgmDataProcessed->mgmVecTot.value, ZERO_VEC_D, 3 * sizeof(float));
3 * sizeof(float)
fixed