Skip to content

Throttle Kalman trackable motion streams#57

Merged
jillesvangurp merged 1 commit into
mainfrom
codex/throttle-kalman-trackable-motions
Jun 11, 2026
Merged

Throttle Kalman trackable motion streams#57
jillesvangurp merged 1 commit into
mainfrom
codex/throttle-kalman-trackable-motions

Conversation

@jillesvangurp

Copy link
Copy Markdown
Contributor

Summary

  • suppress native trackable motion publication when Kalman filtering is enabled so the stream is driven by the throttled derived path
  • keep native location publication unchanged
  • key Kalman state by trackable and CRS so alternating local/EPSG:4326 upstream updates do not reset publication throttle state

Root cause

trackable_motions included unthrottled native upstream events before locations reached the Kalman decision queue. In addition, alternating CRS inputs for the same trackable could reset Kalman state and bypass the intended emit interval.

Validation

  • go test ./internal/hub -run 'TestKalman|TestProcessNativeLocation'
  • go test $(go list ./... | grep -v '/tests/integration')

@jillesvangurp jillesvangurp merged commit 58018b2 into main Jun 11, 2026
2 checks passed
@jillesvangurp jillesvangurp deleted the codex/throttle-kalman-trackable-motions branch June 11, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant