Skip to content

Commit

Permalink
Fix TargetTracker bug (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekma authored Jan 23, 2020
1 parent a86d7f8 commit b7946d8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ open class TargetTracker(private val constants: TargetTrackerConstants) {
var isReal = true
private set

// Add the initial sample to the list of samples.
init {
addSample(initialSample)
}

fun resetFilters() {
xFilter.reset()
yFilter.reset()
Expand Down

0 comments on commit b7946d8

Please sign in to comment.