Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (20 loc) · 1001 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 1001 Bytes

Build Status Coverage Status goreport

gokalman

Go lang implementations of the Kalman Filter and its variantes, along with examples in statistical orbit determination.

Usage

estimateChan := make(chan(Estimate), 1)
go processEstimates(estimateChan)
kf := New[KalmanFilter](...) // e.g. NewVanilla(...)
for k, measurement := range measurements {
	newEstimate, err := kf.Update(measurement, controlVectors[k])
	if err != nil {
		processError(err)
		continue
	}
	estimateChan <- newEstimate
}
close(estimateChan)
// Should add a usage of sync.