Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint

Tracking tools - Matlab and Labview

by ivanmaric » Mon Jun 02, 2014 12:28 pm

I had a quick question, is the s-function that you wrote Linux supported or only Windows?
Posts: 2
Joined: Mon Jun 02, 2014 12:24 pm

by ivanmaric » Mon Jun 02, 2014 4:43 pm


Thank you to Stefano for posting the s-function to take tracking data and put it into x,y, and theta coordinates. I was wondering if you knew a clever way to adapt that code for use in Linux. I will run Simulink in Linux because my trajectory is from the ompl (online motion planning library). The only step I am missing is how to extract data from Tracking Tools into Simulink using a similar s function to the one that Stefano gave.

Thanks in advance
Posts: 2
Joined: Mon Jun 02, 2014 12:24 pm

by idan » Tue Aug 05, 2014 10:44 pm

i tried creating labview lib for motive tracking tool as litch explained above but the vi are not executable?
does anyone know how to deal with this issue?
Posts: 1
Joined: Tue Aug 05, 2014 10:36 pm

by jaykay » Tue Nov 04, 2014 6:36 am

Stefano wrote:Hi,

I was able to create a s-function for simulink.
The function imports the angel and position data from tracking tools.

Hope this is helpfull for some of you.


i created a Matlab s-function for Motive, very similar to your code.
But i can't build code with Simulink Coder. I need a C mex s-function to do this.
Have you or someone else experience with that?

Posts: 5
Joined: Tue Oct 28, 2014 6:39 am


Return to Tracking Tools