NaviNIBS.Devices.ToolPositionsClient module

Bases: object

Parameters:
  • _serverHostname

  • _serverPubPort

  • _serverCmdPort

  • _timeLastHeardFromServer

  • _isConnected

  • _serverStatusTimeout

Note that returned positions may be absolute (rel to world) or relative, based on pos.relativeTo

Return type:

str

Note that returned transf is always absolute, even if the underlying latest position was relative

If key is not found, raises KeyError unless a default value is provided (default can be set to None).

Return type:

Optional[ndarray]

This should only be used to record positions of tools that are not tracked by the camera (e.g. when a position is reported by some other external system, or simulated)

This should only be used to record positions of tools that are not tracked by the camera (e.g. when a position is reported by some other external system, or simulated)