0

In the Google Tango doc for the TangoSupport_fitPlaneModelNearPoint function the intersection_point value is given as a Vec3 in "Output Frame Coordinates"

When debugging this I find that the positive Z coordinate is always the distance away from the camera

I am assuming the right-hand rule so anyone have a source to confirm that this is what is meant for "Output Frame Coordinates"?

enter image description here

FrickeFresh
  • 1,688
  • 1
  • 19
  • 31

2 Answers2

1

The resulting plane equation will be in the same reference frame that you pass the parameters in with. That is the output coordinate space being referred to here.

So if you use StartOfService for your reference frame, then pass in base=StartOfService, target=DepthCamera for the point cloud position and base=StartOfService, target=ColorCamera or Device, depending on which one you are using for positioning the 3D camera.

birdimus
  • 111
  • 3
  • Ok, that makes sense, I forgot I have the control of passing in the translation and orientation, I just always used the StartOfService.. but do you have a source for how it/when the device picks that StartOfService? – FrickeFresh Apr 13 '17 at 03:23
-1

Check the unit, the Tango device is output in "meter" and some of system unit is in "mm"