Syrlinks Update #353

Merged
muellerr merged 24 commits from refactor_syrlinks into develop 2023-01-26 19:18:33 +01:00
11 changed files with 175 additions and 152 deletions
Showing only changes of commit a4bf6d9872 - Show all commits

View File

@@ -10,9 +10,10 @@ list yields a list of all related PRs for each release.
# [unreleased] # [unreleased]
## Added ## Fixed
- Startracker temperature set and PCDU switcher set are diagnostic now - MGM4 handling in ACS sensor processing: Bugfix in `mulScalar` operation
PR: https://egit.irs.uni-stuttgart.de/eive/eive-obsw/pulls/354
## Changed ## Changed
@@ -26,6 +27,7 @@ list yields a list of all related PRs for each release.
- The Syrlinks handler has submodes for the TX mode now: TX Standby (1), TX Modulation (2) and - The Syrlinks handler has submodes for the TX mode now: TX Standby (1), TX Modulation (2) and
TX Carrier Wave (3). The submodes apply for both ON and NORMAL mode. TX Carrier Wave (3). The submodes apply for both ON and NORMAL mode.
PR: https://egit.irs.uni-stuttgart.de/eive/eive-obsw/pulls/353 PR: https://egit.irs.uni-stuttgart.de/eive/eive-obsw/pulls/353
- Startracker temperature set and PCDU switcher set are diagnostic now
# [v1.20.0] 2023-01-24 # [v1.20.0] 2023-01-24

View File

@@ -103,7 +103,7 @@ void SensorProcessing::processMgm(const float *mgm0Value, bool mgm0valid, const
} }
if (mgm4valid) { if (mgm4valid) {
float mgm4ValueNT[3]; float mgm4ValueNT[3];
VectorOperations<float>::mulScalar(mgm4Value, 1e3, mgm4ValueNT, 3); // uT to nT VectorOperations<float>::mulScalar(mgm4Value, 1e-3, mgm4ValueNT, 3); // uT to nT
VectorOperations<float>::subtract(mgm4ValueNT, mgmParameters->mgm4hardIronOffset, VectorOperations<float>::subtract(mgm4ValueNT, mgmParameters->mgm4hardIronOffset,
mgm4ValueNoBias, 3); mgm4ValueNoBias, 3);
MatrixOperations<float>::multiply(mgmParameters->mgm4softIronInverse[0], mgm4ValueNoBias, MatrixOperations<float>::multiply(mgmParameters->mgm4softIronInverse[0], mgm4ValueNoBias,