Search found 10 matches

by weifeng0715
Wed Aug 31, 2016 10:00 am
Forum: Motive
Topic: calculation for marker position
Replies: 1
Views: 8262

calculation for marker position

I have attached the data file. Can anyone help me with the calculation for marker position? Because I could calculate the trajectories with any point on the rigid body. Theoretically, I could calculate the trajectory for marker1 in rigidbody1 with the information of rigidbody rotation (columns 3-5) ...
by weifeng0715
Wed Aug 10, 2016 7:46 am
Forum: OptiTrack Data Streaming
Topic: Bug in NatNet SDK package NatNet_SDK_2.10
Replies: 1
Views: 5671

Bug in NatNet SDK package NatNet_SDK_2.10

I tried to run SampleClient3D and I found the IP address would never update to my computer's IP. So I go back to check the cpp file. I found that in NATUtils.cpp, NATUtils::GetLocalIPAddresses should use "if (!(haddr=gethostbyname(cpName)))" instead of the old version "if (!(haddr=get...
by weifeng0715
Tue Jun 11, 2013 8:08 pm
Forum: OptiTrack Data Streaming
Topic: MFC example
Replies: 3
Views: 4791

Re: MFC example

<t>[quote=NaturalPoint - Morgan]SampleClient3D is a Win32 example. You can use this as a basis for your MFC Application - the process is the same. <br/> <br/> The NatNet SDK also contains WinForms sample, which is a .NET / Windows forms application.<br/> <br/> hope this helps,<br/> <br/> Morgan<br/>...
by weifeng0715
Wed Jun 05, 2013 2:51 pm
Forum: OptiTrack Data Streaming
Topic: Another problem with SampleClient3D
Replies: 0
Views: 3290

Another problem with SampleClient3D

When I move out of the client area and active other window, why the the animation stops for a while(e.g. 5 seconds) in SampleClient3D?

Is this an bug?
by weifeng0715
Wed Jun 05, 2013 8:15 am
Forum: OptiTrack Data Streaming
Topic: About example SampleClient3D
Replies: 0
Views: 3679

About example SampleClient3D

<t>In the WinMain function:<br/> <br/> while(TRUE)<br/> {<br/> if(PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE))<br/> //Dispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist).<br/> {<br/> if(!GetMessage(&msg, NULL, 0, 0)...
by weifeng0715
Mon Jun 03, 2013 7:47 am
Forum: OptiTrack Data Streaming
Topic: Streaming Data to Client Application
Replies: 4
Views: 4621

Re: Streaming Data to Client Application

<t>I think SimpleServer is just like the software Motive or Traking tool. You could stream data out through either SimpleServer or Motive/Traking Tool but not the both.<br/> I think they should point out how to streaming out data by detailing step by step although programmers always think the custom...
by weifeng0715
Mon May 20, 2013 8:48 am
Forum: OptiTrack Data Streaming
Topic: Problem with SampleClient example
Replies: 2
Views: 3420

Re: Problem with SampleClient example

<t>If I comment out the code after<br/> <br/> <br/> NatNetClient* pClient = (NatNetClient*) pUserData;<br/> <br/> printf("Received frame %d\n", data->iFrame);<br/> <br/> <br/> if(fp)<br/> _WriteFrame(fp,data);<br/> <br/> <br/> in the "void __cdecl DataHandler(sFrameOfMocapData* data, void* pUserData...
by weifeng0715
Sun May 19, 2013 3:06 pm
Forum: OptiTrack Data Streaming
Topic: Problem with SampleClient example
Replies: 2
Views: 3420

Problem with SampleClient example

I want to know why there is frame lost as the frame number increase. Thanks.

For instance, I found the data in the file "Client-output" jump from Frame 3826 to Frame 3834. Is there any error there?
by weifeng0715
Wed May 15, 2013 2:10 pm
Forum: OptiTrack Data Streaming
Topic: MFC example
Replies: 3
Views: 4791

Re: MFC example

Ok, Now that replies. I would ask another question: is "SampleClient3D" an example of MFC? Thanks.
by weifeng0715
Mon May 13, 2013 12:20 pm
Forum: OptiTrack Data Streaming
Topic: MFC example
Replies: 3
Views: 4791

MFC example

Hi, everyone. I am a new hand here.
I want to know whether it is possible to report the streaming data (coordinates of each marker and position of trackables) into a MFC user interface? All the examples are console example.

Thanks.