Motive to SampleClient with NatNet

NatNet, VRPN, TrackD, and Plugins
Post Reply
andi.jo
Posts: 1
Joined: Thu Apr 11, 2013 5:00 am

Motive to SampleClient with NatNet

Post by andi.jo »

Hi, I'm trying to fetch data sent by motive to SampleClient in NatNet SDK (2.4) and VisualStudio 2010. I get the Dataset Descriptions with all rigid bodies (the names, the count,...) See SampleClient.cpp

Code: Select all

// Retrieve Data Descriptions from server
	printf("\n\n[SampleClient] Requesting Data Descriptions...");
	sDataDescriptions* pDataDefs = NULL;
	int nBodies = theClient->GetDataDescriptions(&pDataDefs);

but I don't get any data in the object returned by theClient->GetLastFrameOfData()

Code: Select all

// Ready to receive marker stream!
       ...
       ...
       ...

	printf("\nClient is connected to server and listening 	
            case 'f':
                {
                    sFrameOfMocapData* pData = theClient->GetLastFrameOfData();
Any body an idea?
NaturalPoint-Dustin
Posts: 609
Joined: Tue Mar 19, 2013 5:03 pm

Re: Motive to SampleClient with NatNet

Post by NaturalPoint-Dustin »

Thank you for posting on the NaturalPoint forums! I am researching this question for you and should have an answer shortly.
Dustin
Technical Support Engineer
OptiTrack | TrackIR | SmartNav
Post Reply