polling with Natnet 2.10

NatNet, VRPN, TrackD, and Plugins
Post Reply
chti_lolo
Posts: 1
Joined: Tue Feb 06, 2018 8:08 am

polling with Natnet 2.10

Post by chti_lolo »

Hi
I use the Natnet for C++ version 2.10. but I have a problem. I use 2 machines: one for motive and the other to get the data.

When I try to use in my program the function "GetLastFrameOfData", the return information (sFrameOfMocapData*) is always in 0 (for example nRigidBodies = 0, iFrame = 0 ...) Nevertheless the Pointer is not NULL.

SampleClient.exe have the same ploblem with getlastframeofdata but works with the datahandler callback. The firewall and antivirus are not running on the machine. SampleClient 3D works also and the listener method of Matlab too.

As I don't want to make major change on my software which worked with a Vicon system, I have to use the polling method.

thanks for any help

Laurent
aaarthur
Posts: 3
Joined: Fri Aug 03, 2018 11:23 am

Re: polling with Natnet 2.10

Post by aaarthur »

Hey Laurent,

I have the exact same problem as yours! 2 machines, same version and having the same problem "with getlastframeofdata but works with the datahandler callback. SampleClient 3D works also and the listener method of Matlab too. "

Have you solved the problem?

Your help is much appreciated!

Arthur
Post Reply