Get tracks in tracker

I am working with trackerGNN. Is there a way to get an array of all the tracks currently in the tracker without "stepping" the tracker? I don't wan't to step the tracker because I don't want it to count against any confirmation/deletion thresholds.

Answers (1)

Prashant Arora
Prashant Arora on 13 Nov 2023

0 votes

Hi John,
It sounds like you would like to take a peek into predicted estimates of all the tracks without impacting the internal state of the tracker. The tracker offers a method "predictTracksToTime" for this purpose.
If you're looking for something else, please feel free to respond here.
Hope this helps.
Prashant

4 Comments

John Barrus
John Barrus on 13 Nov 2023
Edited: John Barrus on 13 Nov 2023
Prashant,
This is almost what I want, but it throws an error if I use the tracker's current time. Is there any other option?
Thanks
John
Hi John,
The tracks at current time are already available from the tracker as the output from "step". The third output represents all the tracks. Can you clarify why that output doesn't meet your requirements?
Thanks,
Prashant
I guess that output does satisfy my requirements, but it seems inconvenient to hold those outputs in memory until when I need them, which may be several thousand lines of code later. It seems natural to have functionality to query the tracker about its current contents. I'd love this functionality.
Thanks you for the clarification, John.
We'll consider this enhancement to the trackers in upcoming releases.
A valid workaround for now (if your motion models take "dT" into account both in state and process impact) could be to call predictTracksToTime with "currentTime + eps(currentTime)".
Hope this helps
Prashant

Sign in to comment.

Products

Release

R2023a

Asked:

on 13 Nov 2023

Commented:

on 15 Nov 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!