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

URGENT: Fix Alt < 0 wraparound in tracking (Dangerous!) #347

Merged
merged 2 commits into from
Mar 8, 2021

Conversation

jochym
Copy link
Contributor

@jochym jochym commented Mar 7, 2021

Wen the object goes to alt encoder < 0 the tracking wraps around in GetAlt function and results in fast swing in Alt to the other side of the sphere.

@jochym jochym requested a review from knro March 7, 2021 20:36
@knro
Copy link
Collaborator

knro commented Mar 7, 2021

Please use static_cast(...) or even better static_cast<int32_t>(...)

@jochym
Copy link
Contributor Author

jochym commented Mar 8, 2021

@knro are you ok with merging this PR now?

@knro knro merged commit 2644094 into master Mar 8, 2021
@jochym
Copy link
Contributor Author

jochym commented Mar 8, 2021

;)

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.

None yet

2 participants