Motive to SampleClient with NatNet
Posted: Thu Apr 11, 2013 6:58 am
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
but I don't get any data in the object returned by theClient->GetLastFrameOfData()
Any body an idea?
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();