How to Disable Buffering for Real-Time Transform Data from NDI Tracker in PlusServer? #1203
Unanswered
ArashDadras
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Few-ten-millisecond delay is possible, but a if you experience a one-second delay then something is wrong. If you are slow to receive and process messages then it may indeed increase latency, because Plus tries to send all acquired data without data loss. If you cannot speed up your receiver then your can adjust the server parameters: set |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone.
I'm new to PlusServer and I'm learning to use it for a project where I need to get transform data from NDI Vicra\Vega in real time and use it in Unity. I can get the data correctly from PlusServer but it seems that I am getting the transform data that belongs to miliseconds or seconds ago. Is there a buffering mechanism in PlusServer or something else causing this? If there is buffering, can I disable it to get only the most recent data?
The config I use to run the server:
<PlusConfiguration version="2.8"> <DataCollection StartupDelaySec="1.0" > <DeviceSet Name="PlusServer: Vicra Vega tracker with passive markers - by IP" Description="Broadcasting tool tracking data through OpenIGTLink" /> <Device Id="TrackerDevice" Type="NDITracker" SerialPort="5" BaudRate="921600" AcquisitionRate="200" ToolReferenceFrame="Tracker" > <DataSources> <DataSource Type="Tool" Id="Reference" RomFile="D:/References/HeadBand-Reference/HeadBand-Reference.rom" /> <DataSource Type="Tool" Id="Pointer" RomFile="D:/References/Navigation-Pointer/Navigation-Pointer.rom" /> </DataSources> <OutputChannels> <OutputChannel Id="TrackerStream" > <DataSource Id="Reference"/> <DataSource Id="Pointer"/> </OutputChannel> </OutputChannels> </Device> </DataCollection> <PlusOpenIGTLinkServer ListeningPort="18944" SendValidTransformsOnly="true" MaxNumberOfIgtlMessagesToSend="10" MaxTimeSpentWithProcessingMs="10" OutputChannelId="TrackerStream" > <DefaultClientInfo> <MessageTypes> <Message Type="TRANSFORM" /> </MessageTypes> <TransformNames> <Transform Name="ReferenceToTracker" /> <Transform Name="PointerToTracker" /> </TransformNames> </DefaultClientInfo> </PlusOpenIGTLinkServer> </PlusConfiguration>
Beta Was this translation helpful? Give feedback.
All reactions