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

MultiTargetTracker __next__ fails for MultipleHypothesis associations #877

Open
ztarsasw opened this issue Oct 18, 2023 · 1 comment
Open

Comments

@ztarsasw
Copy link

v 1.1
MultiTargetTracker
ExtendedKalmanUpdater
PDAHypothesiser
PDA Data Associator

When running a MultiTargetTracker with a data associator that returns a MultipleHypothesis object from it's associate method, the next method of MultiTargetTracker fails as the Updater expects a Hypothesis type that contains a prediction attribute. My guess is that the check for hypothesis on line 220 in stonesoup/tracker/simple.py needs to be extended to handle the MultiHypothesis case.

Definitely possible I have an implementation issue, but this seems more like a case that should be supported by the MultiTargetTracker type.

@ztarsasw
Copy link
Author

Just as a follow up, when I changed my implementation to use a MultiTargetMixtureTracker, things worked as expected. This might be intended behavior, but recommend clarifying this in naming/docs if so. As a user, it's not clear that "Mixture" = "Supports MHT" without reading the source code, though that term may be defined elsewhere in the docs.

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

No branches or pull requests

1 participant