Replies: 3 comments 5 replies
-
I can tell you at a high level what it's doing. You may already understand the high-level view, or maybe not. I haven't pored through the actual Gaussian elimination equations. At a high level, it's very similar to calibrating the current sensor. On each axis, the sensor has a maximum value read based on the sensitivity of the sensor and the strength of the local magnetic field. We want to scale that to get consistent units. It also has a a minimum value which correlates to a constant offset from zero - the sensor would read a nonzero value even if the craft were out in space, away from Earth's magnetic field. At a high level, the calibration computes the offset and the scale. During run time, the scaled value is computed something like: CurrentX.scaled = (x.raw - x.offset) * x.scale That gives the value of the axis in uniform units, adjusted for the two variables that come from the sensor and the environment. If you're wanting to understand the actual Gaussian elimination that calculates the offset, I can't help you there. I don't know if that was helpful, or perhaps you already understood that much. |
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
-
It should be noted that algorithm give gains too. But it is not used. May be there are some well hidden error |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I see that it is a system of linear equations, but can not understand which.
Beta Was this translation helpful? Give feedback.
All reactions