-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nan #1
Comments
Turns out this is the culprit:
If i replace timeIntervalSinceUpdate in update_velocity2d with 1 it start working. What does this parameter do and does it really need to be seconds since last update? What happens if i leave it at 1? |
@maciekish, any luck with this issue? |
Hi, I just used this code (transposed in AS3) and it works very well. Many thanks to the author. Make sure your values (latitude, longitude, elapsed time) aren't NaN when you update the filter. I know the guys above will probably never see this answer, but it's more for future viewers. |
@PierrotLL can you supply some test examples? I met the same question. below is my code:
// set_matrix(f.state_transition, |
Hi,
I'm trying to implement this in my custom location manger on iOS but get_lat_long get_bearing and get_mph all just return nan.
I'm creating the filter like this:
Updating it like this:
And reading it like this:
All i get is "nan nan nan nan"
The text was updated successfully, but these errors were encountered: