Skip to content

Commit

Permalink
Move MHT Example to new data association examples
Browse files Browse the repository at this point in the history
Fix links to other tutorials
  • Loading branch information
jswright-dstl committed May 13, 2024
1 parent 124b083 commit 5586142
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
# clutter).
#
# MHT, by definition, has several algorithms that fall under this definition, which
# include Global Nearest Neighbour (GNN, :doc:`check here <../tutorials/06_DataAssociation-MultiTargetTutorial>`),
# Joint Probabilistic Data association (JPDA, :doc:`tutorial here <../tutorials/08_JPDATutorial>`),
# Multi-frame assignment (MFA [#]_, see other :doc:`example here <MFA_example>`),
# include Global Nearest Neighbour (GNN,
# :doc:`tutorial <../../auto_tutorials/06_DataAssociation-MultiTargetTutorial>`),
# Joint Probabilistic Data association (JPDA,
# :doc:`tutorial <../../auto_tutorials/08_JPDATutorial>`),
# Multi-frame assignment (MFA [#]_, :doc:`example <MFA_example>`),
# Multi Bernoulli filter and Probabilistic multi hypotheses tracking (PMHT).
# Some of these algorithms are already implemented the Stone Soup.
#
# In this example we employ the multi-frame assignment data associator and
# hypothesiser using their Stone Soup implementation.
#
# This example follows this structure:
#
# 1. Create ground truth and detections;
# 2. Instantiate the tracking components and tracker;
# 3. Run the tracker and visualise the results.
Expand Down Expand Up @@ -60,7 +63,7 @@
# clutter will be generated uniformly in this area around the targets
clutter_area = np.array([[-1, 1], [-1, 1]])*150
clutter_rate = 9
surveillance_area = ((clutter_area[0, 1] - clutter_area[0, 0])*
surveillance_area = ((clutter_area[0, 1] - clutter_area[0, 0]) *
(clutter_area[1, 1] - clutter_area[1, 0]))
clutter_spatial_density = clutter_rate/surveillance_area

Expand All @@ -72,11 +75,11 @@
# the birth rate and the death probability as zero, using only the knowledge of the
# prior states to generate the tracks so the number of targets is fixed (3 in this case).
#
# We can instantiate the transition model of the targets and the measurement model. In this example we employ
# :class:`~.CartesianToBearingRange` non-linear measurement model.
# We can instantiate the transition model of the targets and the measurement model.
# In this example we employ a :class:`~.CartesianToBearingRange` non-linear measurement model.
# Then, we pass all these details to a :class:`~.MultiTargetGroundTruthSimulator`
# and use a :class:`~.SimpleDetectionSimulator`
# to obtain the target ground truth tracks, detections and clutter.
# to obtain the target ground truth, detections and clutter.
#

# Create an initial state
Expand Down

0 comments on commit 5586142

Please sign in to comment.