How to set source index of trackergnn?

2 ビュー (過去 30 日間)
Ryan Fogle
Ryan Fogle 2021 年 9 月 16 日
コメント済み: Ryan Fogle 2021 年 9 月 16 日
Hi,
I am using several trackerGNN to form tracks on simulated measurements. Each trackerGNN initialization corresponds to a new sensor. That is,
for jj=1:nSensors
sensors(jj).tracker = trackerGNN('FilterInitializationFcn',@initcvkf,'ConfirmationThreshold',[4 5],'DeletionThreshold',10);
end
I would like to then fuse these tracks across the sensors.
nSensors = nCombine;
internalSource1 = fuserSourceConfiguration(1,'IsInternalSource',true);
internalSource2 = fuserSourceConfiguration(2,'IsInternalSource',false);
fuser = trackFuser('MaxNumSources',2,'SourceConfigurations',{internalSource1;internalSource2},'StateFusion','Cross');
fusedTracks = fuser(localTracks,ii);
To do this, I need to have a defined SourceIndex for each track point, I think. How do I set this SourceIndex? I would like to do it initially such as when I call trackerGNN but I cant seem to get that to work.
Thanks

採用された回答

Prashant Arora
Prashant Arora 2021 年 9 月 16 日
Hi Ryan,
trackerGNN has "TrackerIndex" property that controls the SourceIndex of the output tracks.
See the property documentation below for more information.
Thanks,
Prashant
  1 件のコメント
Ryan Fogle
Ryan Fogle 2021 年 9 月 16 日
That works! Thanks

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by