We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ab31d commit ca4a2b9Copy full SHA for ca4a2b9
core/calibration/loader/DeviceCalibrationJson.cpp
@@ -267,7 +267,7 @@ nlohmann::json magnetometerCalibrationToJson(
267
// 3. `biasFromJson`: Gen1: muT -> T, Gen2: Gauss -> T.
268
double biasScale = deviceVersion == DeviceVersion::Gen1 ? 1e-6 : 1e-4;
269
270
- Eigen::Matrix3d magMatForJson = -magMat.inverse() * rectificationMatrixScale;
+ Eigen::Matrix3d magMatForJson = magMat.inverse() * rectificationMatrixScale;
271
Eigen::Vector3d biasForJson = biasInTesla / biasScale;
272
273
magJson["SerialNumber"] = "";
0 commit comments