We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13fc50f commit 982a6eaCopy full SHA for 982a6ea
wpi/src/main/kotlin/org/ghrobotics/lib/localization/TimePoseInterpolatableBuffer.kt
@@ -57,7 +57,7 @@ class TimePoseInterpolatableBuffer(
57
val bottomBound = bufferMap.floorEntry(time)
58
59
return when {
60
- topBound == null -> bottomBound.value
+ topBound == null -> bottomBound?.value
61
bottomBound == null -> topBound.value
62
else -> bottomBound.value.interpolate(
63
topBound.value,
0 commit comments