NatNet session directory creation

NatNet, VRPN, TrackD, and Plugins
Post Reply
zoltan
Posts: 9
Joined: Thu Sep 09, 2021 4:27 am

NatNet session directory creation

Post 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.
zoltan
Posts: 9
Joined: Thu Sep 09, 2021 4:27 am

Re: NatNet session directory creation

Post 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.
Post Reply