Comment Comment by nitrogen I haven't implemented one myself, but Kalman filters are frequently used for this. Search HN's history to find several (presumably) good introductions. parent nitrogen 10 years ago