Skip to content

Conversation

@QuentinTorg
Copy link
Owner

Create an extrapolated position by taking the last two step rates and assuming a constant acceleration. This constant acceleration is then used to guess what the current position is at a point in time

Position extrapolation is now based on an acceleration calculated using
the last two step rate measurements.  This gives a much smoother
extrapolation line.  The stepRate() function now extrapolates based on
the amount of time since last step rate calculation, and the previous
acceleration.
I added a lot of comments about how and why things work.  Its not fully
commented yet, but the missing comments are mostly repeats of the first
ones.
QuentinTorg added a commit that referenced this pull request Dec 25, 2015
…ition

Acceleration extrapolated position
@QuentinTorg QuentinTorg merged commit 5795535 into master Dec 25, 2015
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.

2 participants