Skip to content

Commit 674c0f0

Browse files
committed
atomS3R
1 parent e82652e commit 674c0f0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sensors/compass_ahrs/atomS3R_compass_mahony/atomS3R_compass_mahony.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class MahonyBackend : public IAttitudeBackend {
7070
class MahonyCompassApp : public CompassAppBase {
7171
public:
7272
MahonyCompassApp()
73-
: CompassAppBase(std::make_unique<MahonyBackend>(), MagGateConfig{35, 0.02f, 20}, "Mahony") {}
73+
: CompassAppBase(std::make_unique<MahonyBackend>(), MagGateConfig{35, 0.001f, 20}, "Mahony") {}
7474
};
7575

7676
static MahonyCompassApp g_app;

sensors/compass_ahrs/atomS3R_compass_qmekf/atomS3R_compass_qmekf.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class QmekfBackend : public IAttitudeBackend {
8484

8585
class QmekfCompassApp : public CompassAppBase {
8686
public:
87-
QmekfCompassApp() : CompassAppBase(std::make_unique<QmekfBackend>(), MagGateConfig{35, 0.02f, 20}, "qMEKF") {}
87+
QmekfCompassApp() : CompassAppBase(std::make_unique<QmekfBackend>(), MagGateConfig{35, 0.001f, 20}, "qMEKF") {}
8888
};
8989

9090
static QmekfCompassApp g_app;

src/AtomS3R/AtomS3R_CompassAppBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ struct MagGateConfig {
137137
uint32_t sample_spacing_ms = 35;
138138

139139
// Used only for soft "stuck" detection, not for rejecting freshness.
140-
float min_delta_uT = 0.02f;
140+
float min_delta_uT = 0.001f;
141141

142142
// 0 disables stuck flagging.
143143
uint8_t stuck_reject_after_n = 20;

0 commit comments

Comments
 (0)