Topic locked

multi-targets: multiple rotations in xml file not displaying cor

October 22, 2015 - 3:20pm #1

Vuforia SDK Version: ios-5-0-5 -

Description with steps to reproduce:

modifications in the xml file show up correctly in the inspector and the unity scene ... that issue is resolved...

but another issue has emerged at runtime....with any marker which has been modified in rotation twice in the xml file...

I am sharing with you all the relevant evidence....kindly have a look... :

[photos can be viewed/downloaded at: link]

a. xml file [single rotations]:

<?xml version="1.0" encoding="UTF-8"?>

<QCARConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="qcar_config.xsd">

  <Tracking>

    <ImageTarget name="chips" size="270.000000 189.000000" />

    <ImageTarget name="stones" size="270.000000 189.000000" />

    <MultiTarget name="test">

        <Part name="chips" translation="189 0 0" rotation="AD: 0 0 1 90"/>

        <Part name="stones" translation="0 0 0" rotation="AD: 0 0 1 90"/>

    </MultiTarget>

  </Tracking>

</QCARConfig>

b. photos:

1 - scene in unity showing position of display object and the 2 markers

2 - result: displayed correctly on device

c. xml file [double rotation on ‘chips’]:

 

<?xml version="1.0" encoding="UTF-8"?>

<QCARConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="qcar_config.xsd">

  <Tracking>

    <ImageTarget name="chips" size="270.000000 189.000000" />

    <ImageTarget name="stones" size="270.000000 189.000000" />

    <MultiTarget name="test">     

        <Part name="chips" translation="189 0 0" rotation="AD: 0 0 1 90"/>

        <Part name="stones" translation="0 0 0" rotation="AD: 0 0 1 90; AD: 1 0 0 90"/>

    </MultiTarget>

  </Tracking>

</QCARConfig>

d. photos:

3 - scene in unity showing one additional rotation on one of the markers

4+5 - result: display object appears correctly when only the marker with a single rotation is tracked but appears in an incorrect location when the device tracks the chips marker [which has two rotations]

Please see if I have not missed anything and if this is a real issue, and if so then please advise if it needs to be reported as a bug.

Thanks.

 

-

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

Mobile OS and Version: ios7 -

Mobile Device Manufacturer and Model name: ipad-mini -

Do the Vuforia Sample Applications show the same behavior?: did not try...

multi-targets: multiple rotations in xml file not displaying cor

August 9, 2016 - 3:13pm #4

Hello,

This issue was resolved in Vuforia 6.

Thanks

multi-targets: multiple rotations in xml file not displaying cor

June 24, 2016 - 12:16am #3

This issue has been resolved and the fix will be included in the next release of Vuforia.

 

multi-targets: multiple rotations in xml file not displaying cor

October 29, 2015 - 3:11am #2

It seems the Unity Editor parser implementation expects a string with 2 "AD" occurrences, like this:

"AD: 0 0 1 90; AD: 1 0 0 90"

while at runtime the SDK expects a string with only one occurrence of "AD" prefix, i.e. like this:

"AD: 0 0 1 90; 1 0 0 90"

We'll take a look at this inconsistency. Note that in the meantime you can make your app work correctly by using the syntax as in the second line (the Editor preview  will not look correct though)

 

Topic locked