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
384 stars 126 forks source link

Comparing Multiple Trackers On Manoeuvring Targets: Unused variable in notebook #933

Closed apiszcz closed 4 months ago

apiszcz commented 5 months ago

The first code block in 1) Create GroundTruth defines timestep_size that does not appear to be referenced. The variable value is a timedelta of 5 seconds. The generated data appears to a time step of 1 second.

timestep_size = datetime.timedelta(seconds=5)

One possible use in cell 4

ground_truth_gen = SwitchMultiTargetGroundTruthSimulator(
    initial_state=initial_state,
    transition_models=[constant_velocity, turn_left, turn_right],
    timestep = timestep_size,
    model_probs=model_probs,  # put in matrix from above
    number_steps=number_steps,  # how long we want each track to be
    birth_rate=0,
    death_probability=0,
    preexisting_states=preexisting_states
)