Page 1 of 1

NatNet session directory creation

Posted: Thu Mar 09, 2023 4:40 am
by zoltan
I am driving Motive using NatNet in my own custom environment.

My problem is that we want to create sessions with the names only. Unfortunately, when calling

Code: Select all

SetCurrentSession
, the new directory gets created, but it is inside the previous directory.

A temporary workaround for this is to use

Code: Select all

../session_name
or

Code: Select all

../../session_name
depending on how deep I am in.

Is there a way to specify a default directory programmatically where the sessions would go?

Since I am doing everything remotely, telling my users to use absolute path would result in confusion mixed with rage.

Re: NatNet session directory creation

Posted: Mon Jun 12, 2023 2:51 am
by zoltan
Update for this: Just use absolute path, with respect to the OptiTrack computer. We made the same network drive for all the computers, so the paths will be the same on all the computers.