Is there any way to smoothly switch between two trackers?
1 view (last 30 days)
Show older comments
Myana Anderson
on 28 May 2019
Commented: Elad Kivelevitch
on 3 Jun 2019
I am trying to switch the central tracker in this Sensor Fusion and Tracking toolbox example, Multiplatform Radar Detection Fusion:
from trackerGNN to trackerTOMHT but have been struggling to do so. Simply changing the function name along with its arguments is not enough. I've gone into the given helper functions as well to switch the parameters from trackerGNN specific ones to trackerTOMHT ones, but this doesn't do anything either.
I understand that GNN and TOMHT are both structurally different in terms of how they find predictions, so I can see why simply changing a few variables wouldn't be enough but I can't figure out where else to go.
0 Comments
Accepted Answer
Elad Kivelevitch
on 31 May 2019
Hi Myana,
The example: https://www.mathworks.com/help/fusion/examples/tracking-closely-spaced-targets-under-ambiguity.html shows how to switch between trackerGNN, trackerJPDA, and trackerTOMHT.
You are right that the three trackers are somewhat different and therefore have some differences between them, but we have tried to keep the names of properties that serve the same purpose the same across different trackers. Additionally, we tried to keep the inputs and outputs the same across the trackers.
At this time, I am assuming that you might be running into difficulty converting the history-based confirmation and deletion thresholds of the trackerGNN to the score-based confirmation and deletion thresholds of the trackerTOMHT. If that is the case, please consider looking at the example https://www.mathworks.com/help/fusion/examples/introduction-to-track-logic.html that provides an introduction to both track logics.
It may be a good idea to first use the score-based confirmation and deletion logic in the trackerGNN, and configure it to work well, and only then to convert to the trackerTOMHT.
Alternatively, consider using the trackerJPDA (from R2019a) with track history logic. It may provide a solution for your use case.
HTH,
Elad
2 Comments
Elad Kivelevitch
on 3 Jun 2019
Myana,
I am glad you found my answer helpful. Indeed, the trackerTOMHT does not have a TrackLogic property, because it only uses score-based logic. That was the reason why I suggested to convert from history-based to score-based in trackerGNN first. However, if you have already overcome this problem then you have not missed anything. You're on the right track (pun only half intended).
Elad
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!