Page 1 of 1

Motive to SampleClient with NatNet

Posted: Thu Apr 11, 2013 6:58 am
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?

Re: Motive to SampleClient with NatNet

Posted: Thu Apr 11, 2013 1:30 pm
by NaturalPoint-Dustin
Thank you for posting on the NaturalPoint forums! I am researching this question for you and should have an answer shortly.