Log in or register to post comments

Extended tracking cannot be activated programmatically

May 11, 2018 - 1:51am #1

Vuforia SDK Version: 7.1.34 -

Description with steps to reproduce: Hi,
I’m trying in Unity to enable/disable programmatically the extended tracking function on a single object type from a cloud target.
If I enable extended tracking on “Image Target Behaviour” from inspector in unity the augmentation works as intended, but disrupt the behaviour of other augmentations that don’t need the extended tracking.
I’ve tried to enable in that way but the “extended tracking” flag does not became true, nor it works at all.

if (targetSearchResult.TargetName == AugmentationObjects[0].targetName)
{
Debug.Log(“FD:: enabling extended tracking”);
imgTargetBehaviour.ImageTarget.StartExtendedTracking();
}
else
{
imgTargetBehaviour.ImageTarget.StopExtendedTracking();
}

I also tried the code in your article ( https://library.vuforia.com/articles/Training/Extended-Tracking.html ) but it does not work at all since “startExtendedTracking()” method cannot be found.

Is it intended or is a bug?
Can you please help me to start and stop dynamically the extended tracking feature on the cloud object?
Thanks in advance. -

Development OS (Mac OS X, Windows, Linux): Mac OS X -

Mobile OS and Version: iOS + Android latest OSes -

Mobile Device Manufacturer and Model name: Apple + Samsung -

Do the Vuforia Sample Applications show the same behavior?: programmatical behaviour not present in Vuforia sample application

Extended tracking cannot be activated programmatically

May 11, 2018 - 11:19am #2

imille wrote:

Do the Vuforia Sample Applications show the same behavior?: programmatical behaviour not present in Vuforia sample application

The samples do perform this behaviour. If you double tap to pull up the menu when running the sample app you can enable and disable both extended tracking and the flash. Please review the way this is done within the Cloud Reco scene of the Core Samples.

Thanks,

Vuforia Support

Log in or register to post comments