-
Notifications
You must be signed in to change notification settings - Fork 0
Moving balls #666
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
Moving balls #666
Conversation
| .filter(|hypothesis| { | ||
| mahalanobis_distance( | ||
| measurement.position.coords, | ||
| hypothesis.position().coords, | ||
| hypothesis | ||
| .filter | ||
| .covariance() | ||
| .fixed_view::<2, 2>(0, 0) | ||
| .into_owned(), | ||
| ) | ||
| .unwrap_or_default() | ||
| < config.max_mahalonobis_association_distance | ||
| && measurement.position.coords.norm() | ||
| < config.max_euclidean_association_distance | ||
| }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still sus and i want to test it more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checking both euclidean AND mahalanobis?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I think we want to cap the association distance since it now associates with very far away balls if we haven't seen anything in a while
c9bd77f to
9883cbb
Compare
Screencast.From.2025-09-03.22-03-05.mp4
Screencast.From.2025-09-04.16-00-14.mp4