Search found 11 matches

by smith32
Wed Apr 06, 2011 1:03 pm
Forum: OptiTrack Data Streaming
Topic: Rigid Body "Tracked" Flag Streaming
Replies: 5
Views: 2804

Re: Rigid Body "Tracked" Flag Streaming

<t>Ya I thought of that ... you could actually take it one step further where you check to see if all the markers are equal (or equal to 0). That would be a workable solution. Since by your answer I didn't miss a "Tracked" flag anywhere in the packet that will be the test I will code up.<br/> <br/> ...
by smith32
Wed Apr 06, 2011 10:08 am
Forum: OptiTrack Data Streaming
Topic: Rigid Body "Tracked" Flag Streaming
Replies: 5
Views: 2804

Rigid Body "Tracked" Flag Streaming

<t>Hi guys,<br/> <br/> First off I want to say how much I appreciate the great support that is provided here. Also, I wanted to update folks with my lab's current use of TrackingTools. We have 6 V100R2 cameras that we regularly move around the lab to get 6DOF position/attitude of rigid bodies. The q...
by smith32
Thu Jul 01, 2010 5:34 pm
Forum: Tracking Tools
Topic: Tracking Tools Streaming Quaternions
Replies: 12
Views: 10910

Tracking Tools Streaming Quaternions

Hi, I'm using TrackingTools (most recent version) to track a rigid body and stream its position and orientation using NatNet to my own custom software. I'm receiving the quaternions properly but I'm unable to get the Euler angles to match up with the ones shown in the real-time box of the TrackingTo...
by smith32
Sat May 15, 2010 9:53 am
Forum: OptiTrack Data Streaming
Topic: NatNet 2.2 with TrackingTools 2.2.0 beta 1
Replies: 4
Views: 2293

Re: NatNet 2.2 with TrackingTools 2.2.0 beta 1

<t>To follow up with this thread, I was able to successfully implement multicast receiving on a windows real-time target and a QNX (linux-like) real-time target using asynchronous polling. Those of you familiar with Simulink, I now have a block that receives rigid body data from TrackingTools. I def...
by smith32
Thu May 06, 2010 7:43 pm
Forum: OptiTrack Data Streaming
Topic: NatNet 2.2 with TrackingTools 2.2.0 beta 1
Replies: 4
Views: 2293

Re: NatNet 2.2 with TrackingTools 2.2.0 beta 1

<t>Thanks for the response Morgan. Ya, I know this isn't the intended use of the streaming functionality but it was the most obvious and easiest way to get my application running. Believe me, I've been scratching my head trying to think of a way to receive the packets properly. However, my problem i...
by smith32
Thu May 06, 2010 10:24 am
Forum: OptiTrack Data Streaming
Topic: NatNet 2.2 with TrackingTools 2.2.0 beta 1
Replies: 4
Views: 2293

NatNet 2.2 with TrackingTools 2.2.0 beta 1

Hi, I've developed a couple of applications that make use of the NAT_REQUEST_FRAMEOFDATA message. I know this isn't how streaming was intended but for the moment because I'm running a real-time operating system that executes code at a specific interval, this is the easiest way to pipe data into my a...
by smith32
Tue Mar 30, 2010 9:43 am
Forum: OptiTrack Data Streaming
Topic: NatNet on QNX
Replies: 1
Views: 1946

NatNet on QNX

<t>Hi,<br/> <br/> I'm trying to develop a NatNet client to run on a QNX machine (unix-like real-time operating system). One solution would be to use built in QNX network routines to grab and parse the mulitcast data (similar code to what was posted in the MATLAB thread). However, it would be nice to...
by smith32
Mon Mar 29, 2010 3:43 pm
Forum: Tracking Tools
Topic: Tracking tools - Matlab and Labview
Replies: 33
Views: 35287

Re: Tracking tools - Matlab

<t>Quick update, I searched around and realized that I could just rename and compile my C coded S-Function as C++. As soon as I did this, all the errors went away. Hopefully this will help out others if they're looking to do something similar.<br/> <br/> I plan on developing a TrackingTools Simulink...
by smith32
Mon Mar 29, 2010 2:30 pm
Forum: Tracking Tools
Topic: Tracking tools - Matlab and Labview
Replies: 33
Views: 35287

Re: Tracking tools - Matlab

<t>Hi guys,<br/> <br/> I'm also trying to use the TrackingTools through MATLAB, except in my case I'm trying to implement it in a Simlink C coded MEX function.<br/> <br/> I was able to run the code posted by litch09 (thanks a lot) without any issue. However, when I compile my S-Function code (that w...
by smith32
Sat Mar 27, 2010 2:50 pm
Forum: OptiTrack Data Streaming
Topic: Streaming Question
Replies: 19
Views: 13717

Re: Streaming Question

<t>I'm looking at writing a C program in MATLAB (for use in Simulink) that will connect to a streaming NatNet server. Ideally it would use the NatNet SDK instead of using WinSock like the code that Morgan posted. I'd really appreciate some C code that uses the NatNet SDK to create a client.<br/> <br...