Skip to content

Commit

Permalink
Update USAGE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KalebKE authored Oct 27, 2018
1 parent 4f98529 commit 6fab7eb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions documentation/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void onSensorChanged(SensorEvent event) {

## Averaging Filter Linear Acceleration

```
```java
// Stil a BaseFilter under the hood
private AveragingFilter averagingFilter;
private LinearAcceleration linearAccelerationFilter;
Expand Down Expand Up @@ -59,7 +59,7 @@ public void onSensorChanged(SensorEvent event) {

## Orientation IMU Sensor Fusions

```
```java
private OrientationFusion orientationFusion;

private void init() {
Expand Down Expand Up @@ -104,7 +104,7 @@ public void onPause() {

## Orientation IMU Sensor Fusion Linear Acceleration

```
```java
private LinearAcceleration linearAccelerationFilter;
private OrientationFusion orientationFusion;

Expand Down Expand Up @@ -154,7 +154,7 @@ public void onPause() {

## Magnetic Tilt Compenstation

```
```java
private OrientationFusion orientationFusion;

private void init() {
Expand Down Expand Up @@ -204,7 +204,8 @@ public void onPause() {
```

## OrientationComplimentaryFusion Full Example
```

```java
public class MainActivity extends AppCompatActivity implements SensorEventListener {

private LinearAcceleration linearAccelerationFilter;
Expand Down Expand Up @@ -285,7 +286,7 @@ public class MainActivity extends AppCompatActivity implements SensorEventListen

## OrientationKalmanFusion Full Example

```
```java
public class MainActivity extends AppCompatActivity implements SensorEventListener {

private LinearAcceleration linearAccelerationFilter;
Expand Down

0 comments on commit 6fab7eb

Please sign in to comment.