Skip to content

Commit 3752c6d

Browse files
committed
v3.0
* Convert Fragments to Kotlin
1 parent 08833c5 commit 3752c6d

31 files changed

+206
-693
lines changed

README.md

+66-80
Large diffs are not rendered by default.

documentation/USAGE.md

-372
This file was deleted.

documentation/images/fsensor.png

156 KB
Loading

fsensor/proguard-rules.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add project specific ProGuard rules here.
22
# By default, the flags in this file are appended to flags specified
3-
# in /Users/kaleb/Library/Android/sdk/tools/proguard/proguard-android.txt
3+
# in Library/Android/sdk/tools/proguard/proguard-android.txt
44
# You can edit the include path and order by changing the proguardFiles
55
# directive in build.gradle.
66
#

fsensor/src/main/java/com/tracqi/fsensor/filter/LowPassFilter.java

+1-9
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,7 @@
1717
*/
1818

1919
/**
20-
* An implementation of the Android Developer low-pass fusedOrientation. The Android
21-
* Developer LowPassFilter, is an IIR single-pole implementation. The coefficient, a
22-
* (alpha), can be adjusted based on the sample period of the sensor to produce
23-
* the desired time constant that the fusedOrientation will act on. It takes a simple form of y[0] = alpha * y[0] + (1
24-
* - alpha) * x[0]. Alpha is defined as alpha = timeConstant / (timeConstant +
25-
* dt) where the time constant is the length of signals the fusedOrientation should act on
26-
* and dt is the sample period (1/frequency) of the sensor.
27-
*
28-
* @author Kaleb Kircher
20+
* Implements a low pass filter designed to smooth the data points based on a time constant.
2921
*/
3022
public class LowPassFilter extends SensorFilter {
3123
private static final String tag = LowPassFilter.class.getSimpleName();

0 commit comments

Comments
 (0)