dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
412 stars 139 forks source link

error using JPDA data associator in Tutorial 10 #651

Closed adielstatman closed 2 years ago

adielstatman commented 2 years ago

Hi. In Tutorial 10 I've modified only the following:

from stonesoup.hypothesiser.probability import PDAHypothesiser hypothesiser = PDAHypothesiser(predictor, updater, clutter_spatial_density=0.1)

from stonesoup.dataassociator.probability import JPDA data_associator = JPDA(hypothesiser) ... from stonesoup.tracker.simple import MultiTargetMixtureTracker tracker = MultiTargetMixtureTracker(...

And get the mentioned error:

AttributeError: 'MultipleHypothesis' object has no attribute 'prediction'

Do you know what else should be modified for probabilistic data associator? Thanks.