1
0
forked from fsfw/fsfw

updating code from Flying Laptop

This is the framework of Flying Laptop OBSW version A.13.0.
This commit is contained in:
2018-07-12 16:29:32 +02:00
parent 1d22a6c97e
commit 575f70ba03
395 changed files with 12807 additions and 8404 deletions

View File

@ -1,6 +1,5 @@
#include <framework/globalfunctions/math/QuaternionOperations.h>
#include "QuaternionOperations.h"
#include <framework/globalfunctions/math/VectorOperations.h>
#include "VectorOperations.h"
#include <cmath>
#include <cstring>
@ -79,7 +78,7 @@ void QuaternionOperations::fromDcm(const double dcm[][3], double* quaternion,
uint8_t maxAIndex = 0;
VectorOperations<double>::maxAbsValue(a, 4, &maxAIndex);
VectorOperations<double>::maxValue(a, 4, &maxAIndex);
if (index != 0) {
*index = maxAIndex;