Skip to content

Commit a6016bd

Browse files
committed
Remove obsolete coefficient calculation from Matlab implementation
1 parent 31af4ca commit a6016bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1818
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1919

2020
## [Unreleased]
21+
### Fixed
22+
- Removed obsolete (and unused) `restMagLpB` and `restMagLpA` filter coefficient calculation in Matlab implementation.
2123

2224
## [2.0.0] - 2022-10-28
2325
### Changed

vqf/matlab/VQF.m

-1
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,6 @@ function setup(obj)
10531053

10541054
[obj.coeffs.restGyrLpB, obj.coeffs.restGyrLpA] = obj.filterCoeffs(obj.params.restFilterTau, obj.coeffs.gyrTs);
10551055
[obj.coeffs.restAccLpB, obj.coeffs.restAccLpA] = obj.filterCoeffs(obj.params.restFilterTau, obj.coeffs.accTs);
1056-
[obj.coeffs.restMagLpB, obj.coeffs.restMagLpA] = obj.filterCoeffs(obj.params.restFilterTau, obj.coeffs.magTs);
10571056

10581057
obj.coeffs.kMagRef = obj.gainFromTau(obj.params.magRefTau, obj.coeffs.magTs);
10591058
if obj.params.magCurrentTau > 0

0 commit comments

Comments
 (0)