Optitrack Trio V120 with PlusServer

Hello,

Unfortunately, I can’t launch PlusServer with Optitrack.
First, here are the logs I get with PlusServer:
"
time|level|timeoffset|message|location
101025_110628.500|INFO|000.003000|> Software version: Plus-2.9.0.9d59465a - Win64| in vtkPlusLogger(52)
101025_110628.503|INFO|000.006000| Software version: Plus-2.9.0.9d59465a - Win64| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(126)
101025_110628.503|INFO|000.006000| Logging at level 3 to file: C:/Users/maxam/PlusApp-2.9.0.20231006-Telemed-Win64/data/101025_110628_PlusLog.txt| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(127)
101025_110629.315|INFO|000.818000| Supported devices:

  • 3dConnexion (ver: Plus-2.9.0)
  • AuroraTracker (ver: NDICAPI-1.7)
  • BkProFocusOem (ver: Plus-2.9.0)
  • ChRobotics (ver: Plus-2.9.0)
  • Epiphan (ver: Plus-2.9.0)
  • FakeTracker (ver: Plus-2.9.0)
  • GenericSerialDevice (ver: Plus-2.9.0)
  • ICCapturing (ver: The Imaging Source UDSHL-3.5)
  • ImageProcessor (ver: Plus-2.9.0)
  • IntelRealSense (ver: Plus-2.9.0)
  • Microchip (ver: Plus-2.9.0)
  • MmfVideo (ver: Plus-2.9.0)
  • NDITracker (ver: NDICAPI-1.7)
  • NoiseVideo (ver: Plus-2.9.0)
  • OpenCVVideo (ver: Plus-2.9.0)
  • OpenIGTLinkTracker (ver: OpenIGTLink v3.1.0)
  • OpenIGTLinkVideo (ver: OpenIGTLink v3.1.0)
  • OptiTrack (ver: Plus-2.9.0)
  • OpticalMarkerTracker (ver: Plus-2.9.0)
  • PhidgetSpatial (ver: Plus-2.9.0)
  • PolarisTracker (ver: NDICAPI-1.7)
  • SavedDataSource (ver: Plus-2.9.0)
  • TelemedVideo (ver: Telemed version unknown| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(131)
    101025_110629.340|INFO|000.843000| Server host name: LAPTOP-VO4GMB9P| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(162)
    101025_110629.373|INFO|000.876000| Server IP addresses: 172.30.48.1, 192.168.135.211, 127.0.0.1| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(182)
    101025_110629.375|INFO|000.877000| Start remote control server at port: 18904| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(191)
    101025_110631.980|INFO|003.482000| Connect using configuration file: C:\Users\maxam\PlusApp-2.9.0.20231006-Telemed-Win64\config\PlusDeviceSet_Server_OptiTrack_Profile.xml| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(646)
    101025_110631.980|INFO|003.483000| Server process command line: “C:/Users/maxam/PlusApp-2.9.0.20231006-Telemed-Win64/bin/PlusServer.exe” --config-file=“PlusDeviceSet_Server_OptiTrack_Profile.xml” --verbose=3| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(327)
    101025_110632.570|INFO|004.073000| Server process started successfully| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(336)
    101025_110635.316|INFO|006.819000|SERVER> Software version: Plus-2.9.0.9d59465a - Win64
    101025_110635.317|INFO|006.820000|SERVER> Logging at level 3 (INFO) to file: C:/Users/maxam/PlusApp-2.9.0.20231006-Telemed-Win64/data/101025_110632_PlusLog.txt
    101025_110635.319|INFO|006.821000|SERVER> Server status: Reading configuration.
    101025_110635.320|INFO|006.823000|SERVER> Server status: Connecting to devices.
    101025_110635.322|INFO|006.825000|SERVER> Starting NatNet server [IP:127.0.0.1]…
    101025_110635.323|INFO|006.826000|SERVER> Starting NatNet server [IP:127.0.0.1]…
    101025_110635.323|INFO|006.826000|SERVER> ---------------------------------MOTIVE SETTINGS--------------------------------
    101025_110635.325|INFO|006.828000|SERVER> Connected cameras:
    101025_110635.334|INFO|006.837000|SERVER> 0: V120:Trio 331578b
    101025_110635.335|INFO|006.838000|SERVER> 1: V120:Trio 331578a
    101025_110635.335|INFO|006.838000|SERVER> 2: V120:Trio 331578c
    101025_110635.336|INFO|006.839000|SERVER> Using Motive profile located at:
    101025_110635.336|INFO|006.839000|SERVER> C:/Users/maxam/PlusApp-2.9.0.20231006-Telemed-Win64/config/motiveprofilefile_Maxamed.motive
    101025_110635.337|INFO|006.840000|SERVER> Using Motive calibration located at:
    101025_110635.338|INFO|006.841000|SERVER> C:/Users/maxam/PlusApp-2.9.0.20231006-Telemed-Win64/config/None
    101025_110635.338|INFO|006.841000|SERVER> Tracked rigid bodies:
    101025_110635.339|INFO|006.842000|SERVER> Stylus
    101025_110635.339|INFO|006.842000|SERVER> Probe
    101025_110635.340|INFO|006.843000|SERVER> --------------------------------------------------------------------------------
    101025_110636.334|INFO|007.837000|SERVER> Server status: Starting servers.
    101025_110636.337|WARNING|007.840000|SERVER> Buffer item is not in the buffer (Uid: 0)!| in E:\D\PTNPTe64b\PlusLib\src\PlusDataCollection\vtkPlusTimestampedCircularBuffer.cxx(176)
    101025_110636.366|WARNING|007.869000|SERVER> Unable to get timestamp from ProbeToTracker tool tracker buffer for time: 0| in E:\D\PTNPTe64b\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1295)
    101025_110636.367|WARNING|007.870000|SERVER> Buffer item is not in the buffer (Uid: 0)!| in E:\D\PTNPTe64b\PlusLib\src\PlusDataCollection\vtkPlusTimestampedCircularBuffer.cxx(176)
    101025_110636.368|WARNING|007.871000|SERVER> Unable to get timestamp from StylusToTracker tool tracker buffer for time: 0| in E:\D\PTNPTe64b\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1295)
    101025_110636.368|ERROR|007.871000|SERVER> Failed to get most recent timestamp from all the tracker tools| in E:\D\PTNPTe64b\PlusLib\src\PlusDataCollection\vtkPlusChannel.cxx(1312)
    101025_110636.401|INFO|007.904000|SERVER> Plus OpenIGTLink server listening on IPs: 169.254.221.243, 172.30.48.1, 169.254.225.90, 169.254.111.91, 192.168.135.211, 169.254.161.53, 127.0.0.1 – port 18944
    101025_110636.404|INFO|007.907000|SERVER> Server status: Server(s) are running.
    101025_110636.406|INFO|007.909000|SERVER> Press Ctrl-C to quit.
    101025_110652.056|INFO|023.559000| Server process stop request sent successfully| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(519)
    101025_110654.699|INFO|026.202000| Server process stopped successfully| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(538)
    101025_110654.701|INFO|026.204000| Disconnect request successful| in E:\D\PTNPTe64b\PlusApp\PlusServerLauncher\PlusServerLauncherMainWindow.cxx(639)

"

Here is my PlusDeviceSet_Server_OptiTrack_Profile.xml file:

<DeviceSet

  Name="PlusServer: OptiTrack (Profile only)"

  Description="Broadcasting tracking data through OpenIGTLink."

/>



<Device

  Id="TrackerDevice"

  Type="OptiTrack"

  ToolReferenceFrame="Tracker" 

  Profile= "motiveprofilefile_Maxamed.motive"

  Calibration="None"

  AttachToRunningMotive="FALSE"

  MotiveDataDescriptionsUpdateTimeSec="1.0" >

  <DataSources>

    <DataSource Type="Tool" Id="Stylus" />

    <DataSource Type="Tool" Id="Probe"  />

  </DataSources>

  <OutputChannels>

    <OutputChannel Id="TrackerStream">

    <DataSource Type="Tool" Id="Stylus" />

    <DataSource Type="Tool" Id="Probe" />

    </OutputChannel>

  </OutputChannels>

</Device>



<Device

  Id="CaptureDevice"

  Type="VirtualCapture"

  BaseFilename="RecordingTest.igs.mha"

  EnableCapturingOnStart="FALSE" >

  <InputChannels>

    <InputChannel Id="TrackerStream" />

  </InputChannels>

</Device>

<PlusOpenIGTLinkServer

MaxNumberOfIgtlMessagesToSend="1"

MaxTimeSpentWithProcessingMs="50"

ListeningPort="18944"

SendValidTransformsOnly="TRUE"

OutputChannelId="TrackerStream" >

<DefaultClientInfo>

  <MessageTypes>

    <Message Type="TRANSFORM" />

  </MessageTypes>

  <TransformNames>

    <Transform Name="StylusToTracker" />

    <Transform Name="ProbeToTracker" />

  </TransformNames>

</DefaultClientInfo>

I have Plus Applications version 2.9.0.2023-10-06 (Telemed-Win64)
I have Motive version 2.1.2

I’ve tried changing the AttachToRunningMotive parameter to TRUE and running Motive alongside it, but it doesn’t change anything.

I also saw that here:

you could add

<DataSources>
<DataSource Type="Tool" Id="Stylus" BufferSize="150" />
<DataSource Type="Tool" Id="Probe" BufferSize="150" />

But nothing works. Even if I change the BufferSize value, it doesn’t work either.

The ultimate goal will be to use OptiTrack + TeleMed. I can get TeleMed to work, and I get the video stream. However, I can’t get OptiTrack to work, and I don’t know why.

I can also attach my motiveprofilefile_Maxamed.motive file if needed.

Hello,

I’ve solved my issue. If anyone encounters the same problem, I can share my configuration files.

Best regards.

Thanks for the update. There is no need to share the config file, but if you can describe in 1-2 sentences what was unclear, unexpected, or not well documented then that would be helpful. We could then improve our documentation, tutorials, or examples accordingly.