08-25-2012 04:10 AM
I am working with Optitrack and Labview to measure distance between trackable object with 3d position(x,y,z).
First question is how do I get distance from these data of position(just x,y,z) between them.
And second is if three object so called A,B,C, how can I get angle between AC and AB?????
I'm newbie with labview.
If you just give me some idea and hint, I will dig all day and night, so please help me!
If there is example about my questions, please le me know.
Thank you so much for your kind reply in advance!!!!
08-25-2012 05:44 AM
08-25-2012 06:42 AM
Thank you so much, srikrishnaNF!!!
Could you please let me know how to apply euclidean distance formula in labview? Should I type this formula all by myself or there is tool for me?
Thank you again.
08-28-2012 10:54 PM
Hi Shevchango,
Your question is quite simple.
I'm sure SrikrishnaNF's post will be great help.
Let me ask another question to you.
I'm also trying to acquire optitrack 3d data via Labview but at this time
I cannot get any data from Tracking Tools software.
How did you code .VI file to get optitrack data?
Did you refer to the following post?
https://decibel.ni.com/content/docs/DOC-9171
If so, what version of TrackingTools and LabVIEW are you using?
Or, do you use data streaming technology e.g., NatNet SDK ?
If possible, could you share your VI file?
Any advise is helpful for me.
Thanks in advance
Best regards,
mwu_io
01-14-2021 10:29 AM
HI did you have any luck on getting a working version?
01-14-2021 08:59 PM
Did you ever have mathematics courses that included Vectors, and some Trigonometry?
Given three points in 3-D space, A, B, and C, with coordinates x, y, z (such as A = (Ax, Ay, Az)), you can express a Vector going from A to B as B-A, and can express the distance between A and B as the length of this Vector, whose formula you should surely have learned.
If you have two Vectors, call them AB (the Vector going from A to B) and AC, you might remember there is something called a "dot product of two Vectors" that can be easily calculated from the components of the respective Vectors, and can also be expressed as "the Projection of AB on AC" or as "AB x AC x cos (theta)" (where AB is the length of the vector AB and theta is the angle between the two vectors). I hope you can figure out how to get the angle "theta" (between AB and AC) from this formula which you should already know.
If you haven't learned this yet, go look up Vectors, Vector Length, and Dot Product of two Vectors.
Bob Schor
01-15-2021 03:08 AM
Hi Bob
Sorry I was replying to a previous comment of getting optitrack tracking days into LabVIEW.