How to set source index of trackergnn?

조회 수: 1 (최근 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

추가 답변 (0개)

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by