Skip to content
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

Playback bug when using z-coordinate #1

Closed
mbillingr opened this issue Jul 22, 2018 · 1 comment
Closed

Playback bug when using z-coordinate #1

mbillingr opened this issue Jul 22, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@mbillingr
Copy link
Owner

mbillingr commented Jul 22, 2018

Distance calculation is wrong in Bweights::from_position for any z != 0:

let dist = (pos[0] * pos[0] + pos[1] * pos[1] + pos[1] * pos[2]).sqrt()
                                                    ^ should be 2
@mbillingr mbillingr added the bug Something isn't working label Jul 22, 2018
@mbillingr
Copy link
Owner Author

Same bug in doppler_rate (2x)

@mbillingr mbillingr changed the title Bug in Bweight::from_position Playback bug when using z-coordinate Jul 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant