Streaming Question

NatNet, VRPN, TrackD, and Plugins
bgamp
Posts: 4
Joined: Sat Nov 08, 2008 6:43 pm

Re: Streaming Question

Post by bgamp » Thu Nov 13, 2008 9:32 am

Hey, thanks.

We got it working with Java and your help.

Just a suggestion for the future... Matlab can inherently setup and read udp packets if they are not multicast. That would make it easier to use your system with our (and others') systems.

Thanks again.

P.S. I am having an issue parsing the data coming through now, but I replied to a previous and different post about that.

B

morgan
NaturalPoint Employee
NaturalPoint Employee
Posts: 200
Joined: Tue Jun 24, 2008 2:01 pm
Location: Corvallis, OR, USA
Contact:

Re: Streaming Question

Post by morgan » Thu Nov 13, 2008 1:01 pm

Agreed - Will add this as a feature request for subsequent versions.

Re the parsing issue, it sounds like a version compatibility issue. The benefit of using the NatNet SDK is it insulates client from syntax changes. You can lso use it to check version numbers.

Give me a chance to review the version of NatNet the RB tools is using. Perhaps it is the previous version.

bgamp
Posts: 4
Joined: Sat Nov 08, 2008 6:43 pm

Re: Streaming Question

Post by bgamp » Thu Nov 13, 2008 1:07 pm

Yeah, I checked for that... the RB tool is using NatNet 1.4 and the ICD I have been using is also 1.4.
I sent you an email to support with a spreadsheet I have been using to try and figure out how to write my parsing program. Hopefully it will be easier to understand my parsing problems seeing it byte-by-byte.

B

VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: Streaming Question

Post by VincentG » Thu Nov 13, 2008 4:55 pm

Email replied to.....

litch09
Posts: 32
Joined: Tue Mar 10, 2009 6:28 pm

Re: Streaming Question

Post by litch09 » Sun Aug 02, 2009 10:56 pm

Hi Morgan,

I would certainly be interested in a .Net Assembly or Active X control wrapper to make it easier to access streaming data via Labview or Matlab (particularly using Tracking Tools).

I have written Labview VI's in the past using the Optitrack SDK to communicate with a TrackIR camera with good success. Now we have a three camera Tracking Tools system and would like to stream data from Trackables to Labview to link up with other tools controlled via Labview, but I am finding it difficult to do this easily (albeit, this is my first day of trying!).

If you could let me know whether this is going to be an option in the future and what the timeline might be, then that would be great.

genetunik
Posts: 18
Joined: Mon Dec 08, 2008 11:31 am

Re: Streaming Question

Post by genetunik » Wed Sep 09, 2009 12:32 pm

Hi,
I am trying to use NatNet to stream rigid body data using Matlab. Can you please help me get started. Any advice would help greatly.
Thanks,
Gene

barneygumble
Posts: 10
Joined: Wed Oct 14, 2009 2:28 am
Location: France, Bordeaux

Re: Streaming Question

Post by barneygumble » Wed Oct 14, 2009 2:58 am

Hi there, UP to the genetunik post about matlab using...
Thanks
�tienne

morgan
NaturalPoint Employee
NaturalPoint Employee
Posts: 200
Joined: Tue Jun 24, 2008 2:01 pm
Location: Corvallis, OR, USA
Contact:

Re: Streaming Question

Post by morgan » Tue Jan 05, 2010 5:43 pm

Just an update here -

Latest version of NatNet now includes a native depacketizer sample and a full .NET managed assembly and sample for use in .NET environs. Newer version of MatLab should be able consume the NatNET .NET wrapper assembly directly now, which should make thing much easier.

smith32
Posts: 11
Joined: Wed Mar 24, 2010 2:13 pm

Re: Streaming Question

Post by smith32 » Sat Mar 27, 2010 2:50 pm

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.

Thanks.

aluaces
Posts: 9
Joined: Mon Dec 21, 2009 10:14 am

Re: Streaming Question

Post by aluaces » Tue Mar 30, 2010 1:29 am

[quote=smith32]I'd really appreciate some C code that uses the NatNet SDK to create a client.
[/quote]

They are already several source code examples in the SDK distribution :)

Post Reply