NaviNIBS.Devices.IGTLinkToolPositionsServer module¶
- class NaviNIBS.Devices.IGTLinkToolPositionsServer.IGTLinkToolPositionsServer(hostname='127.0.0.1', pubPort=18950, cmdPort=18951, logFilepath=None, publishRateLimit=10.0, igtlHostname='127.0.0.1', igtlPort=18944, igtlPollPeriod=0.01)[source]¶
Bases:
ToolPositionsServer
This acts as a central router for IGTLink position updates.
It actually acts as a client connecting to a running Plus Server that is itself streaming tool positions. But this provides other clients a connection-agnostic async interface for receiving updates.
- Parameters:
_hostname
_pubPort
_cmdPort
_logFilepath
_publishRateLimit
_igtlHostname
_igtlPort
_igtlPollPeriod
- _igtlHostname: str¶
- _igtlPort: int¶