<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AR Tracker Coordinates in Vuforia Studio</title>
    <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513238#M1206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thingworx View does not have the ability to get the coordinates of the camera or the coordinates of the ThingMark with respect to the camera.&amp;nbsp; The coordinates are global.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the global coordinates of the ThingMark in javascript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var x_cord = $scope.view.wdg['thingMark-1]['x'];&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;var y_cord = $scope.view.wdg['thingMark-1]['y'];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;var z_cord = $scope.view.wdg['thingMark-1]['z'];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jul 2017 15:51:56 GMT</pubDate>
    <dc:creator>rabernathy</dc:creator>
    <dc:date>2017-07-14T15:51:56Z</dc:date>
    <item>
      <title>AR Tracker Coordinates</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513233#M1201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; color: #4d4d4f;"&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; color: #4d4d4f;"&gt;I have set up an AR tracker project for one of the Thingmarks and I've been trying to extract the coordinates of the tracker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; color: #4d4d4f;"&gt;To this purpose I have set up 3 application parameters (xCoord, yCoord, zCoord) and bound them to the X, Y, Z coordinates of the model that shows up when the Thingmark is found. &lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;From my understanding the placement of the Thingmark is at the (0,0,0) position. &lt;/SPAN&gt;However, without initialising the application parameters to something in the 'Home.js' file, the values show up as Not a Number ('NaN'). Additionally, the values do not update live during tracking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; color: #4d4d4f;"&gt;I understand that this happens because within the editor the model has a fixed position, it is only in the AR environment when I move the Thingmark that it changes. And since the model is following the Thingmark if also resets to (0,0,0. Does anyone have any idea if what I am trying to do is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; color: #4d4d4f;"&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 13:07:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513233#M1201</guid>
      <dc:creator>azaharia</dc:creator>
      <dc:date>2017-07-11T13:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: AR Tracker Coordinates</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513234#M1202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can place the ThingMark anywhere in the Studio environment that you want to.&amp;nbsp; It doesn't have to be at (0,0,0).&amp;nbsp; If you use the translate tool at the top of the canvas, you can move the ThingMark anywhere and if you use the mate tool at the top of the canvas, you can mate the ThingMark anywhere on the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ThingMark needs to be placed in the Studio environment in the same place that you put it in the real world.&amp;nbsp; Meaning if you place it on the physical part, you need to place the ThingMark in Studio at the corresponding location on the CAD model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you moving the ThingMark in the real world after you start the AR experience?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 15:30:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513234#M1202</guid>
      <dc:creator>rabernathy</dc:creator>
      <dc:date>2017-07-11T15:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: AR Tracker Coordinates</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513235#M1203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not moving the ThingMark, what I meant is the coordinates of the Model/ThingMark with respect to the camera. Do you know whether this is possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 08:16:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513235#M1203</guid>
      <dc:creator>azaharia</dc:creator>
      <dc:date>2017-07-12T08:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: AR Tracker Coordinates</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513236#M1204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ThingMark is intended to be stationary.&amp;nbsp; Can you explain your use case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 10:18:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513236#M1204</guid>
      <dc:creator>rabernathy</dc:creator>
      <dc:date>2017-07-12T10:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: AR Tracker Coordinates</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513237#M1205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once I detect the ThingMark I want to Experience to show on the screen the coordinates of the ThingMark within the camera frame, so that I can deduce for e.g., the distance to it. So for example if I set the user/camera's position to be (0,0,0), I want to get the relative coordinates of the Mark. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 10:37:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513237#M1205</guid>
      <dc:creator>azaharia</dc:creator>
      <dc:date>2017-07-12T10:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: AR Tracker Coordinates</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513238#M1206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thingworx View does not have the ability to get the coordinates of the camera or the coordinates of the ThingMark with respect to the camera.&amp;nbsp; The coordinates are global.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the global coordinates of the ThingMark in javascript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var x_cord = $scope.view.wdg['thingMark-1]['x'];&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;var y_cord = $scope.view.wdg['thingMark-1]['y'];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;var z_cord = $scope.view.wdg['thingMark-1]['z'];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:51:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513238#M1206</guid>
      <dc:creator>rabernathy</dc:creator>
      <dc:date>2017-07-14T15:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: AR Tracker Coordinates</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513239#M1207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://www.ptcusercommunity.com/7.0.4.3b79b96/images/emoticons/happy.png"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 14:39:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/AR-Tracker-Coordinates/m-p/513239#M1207</guid>
      <dc:creator>azaharia</dc:creator>
      <dc:date>2017-07-20T14:39:06Z</dc:date>
    </item>
  </channel>
</rss>

