Skip to content

Commit

Permalink
Add comment to fused altimeter
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Nov 25, 2023
1 parent 419663d commit 4e9f3f9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ class FusedAltimeter2(
private const val LAST_SEA_LEVEL_PRESSURE_TIME_KEY =
"cache_fused_altimeter_last_sea_level_pressure_time"
private val SEA_LEVEL_EXPIRATION = Duration.ofHours(1)

// 2% GPS, 98% barometer
private const val ALPHA = 0.02f
}
}

0 comments on commit 4e9f3f9

Please sign in to comment.