Search found 7 matches

by lehthanis
Wed Aug 31, 2022 9:53 am
Forum: OptiTrack Data Streaming
Topic: No NatNetClient in MinGW...got it...depacket then...few questions?
Replies: 1
Views: 1605

Re: No NatNetClient in MinGW...got it...depacket then...few questions?

It took quite a bit of effort from my team, but we've finally managed to reverse engineer the PacketClient method of sending commands without using the NatNetLib. We're actually sending the packets via Qt's QudpSocket->WriteDatagram function. This is cross-platform capable.
by lehthanis
Tue Aug 30, 2022 11:35 am
Forum: OptiTrack Data Streaming
Topic: No NatNetClient in MinGW...got it...depacket then...few questions?
Replies: 1
Views: 1605

No NatNetClient in MinGW...got it...depacket then...few questions?

I'm looking at the PacketClient.cpp example, and I'm wondering if the whole sPacket structure is required for just sending commands to Motive? I don't need to extract any data from the stream, I just need to be able to send a few commands to manage it's state. What's the absolute bare minimum I'd ne...
by lehthanis
Mon Aug 29, 2022 12:45 pm
Forum: OptiTrack Data Streaming
Topic: Undefined reference to NatNetClient with mingw
Replies: 0
Views: 9834

Undefined reference to NatNetClient with mingw

I saw an older post with a similar issue, but figured I'd ask if this is still an issue. Are we not able to link the NatNetSDK with mingw? If not, did I understand correctly that it's possible to just send regular UDP packets to motive manually? I only need to the start and stop recording capability.
by lehthanis
Thu Aug 18, 2022 12:40 pm
Forum: OptiTrack Data Streaming
Topic: Anyone ever linked the NatNetLib.lib in qtcreator?
Replies: 0
Views: 8379

Anyone ever linked the NatNetLib.lib in qtcreator?

I'm not sure how exactly to create the LIBS reference for my qmake .pro file. I've tried:

LIBS += -lNatNetLib

and

LIBS += -Lpath/to/NatNetLib

does it need a .lib extension? Should I be pointing to the dll instead? I'm getting an undefined reference to NatNetClient::NatNetClient()
by lehthanis
Tue Jul 12, 2022 10:11 am
Forum: Motive
Topic: API Question: Is it possible to use the API to start/stop a take recording?
Replies: 4
Views: 3308

Re: API Question: Is it possible to use the API to start/stop a take recording?

That's awesome news! I'm about to embark on an awesome research journey then. Thanks much!
by lehthanis
Tue Jul 12, 2022 9:31 am
Forum: Motive
Topic: API Question: Is it possible to use the API to start/stop a take recording?
Replies: 4
Views: 3308

Re: API Question: Is it possible to use the API to start/stop a take recording?

Thanks steven! Very helpful! I was barking up the wrong tree. I noticed it required that I turn on the data output in the streaming panel in motive to be able to connect...will this client/server communication work in conjunction with my existing setup that is streaming data to the OptiTrack OpenVR ...
by lehthanis
Mon Jul 11, 2022 10:02 am
Forum: Motive
Topic: API Question: Is it possible to use the API to start/stop a take recording?
Replies: 4
Views: 3308

API Question: Is it possible to use the API to start/stop a take recording?

I am running a study with multiple data collection programs simultaneously running, and I'd like to automate the record button function...If I can create an app that will start/stop the recording of a take, that would be super helpful.