Ports
bodies (multiple out)
Data structure
|
markers (multiple out)
Data structure
|
Services
get_export (attribute)
Outputs
|
set_export (attribute)
Inputs
|
get_local_port (attribute)
Outputs
|
Get the UDP port on which the socket receiving data is bound.
set_local_port (attribute)
Inputs
|
Change the default port on which the socket receiving data is bound.
When multiple instances of the component must run on the same host, each instance must use a different local UDP port. This service allows to change the default 1510 port to any value. It must be invoked before connect (activity) so that the selected value is taken into account.
Note
|
The UDP socket is bound locally to a specific port in order to overcome a limitation of the Optitrack sotftware that cannot be told to stop sending data to a client. Not locally binding the socket would lead to an accumulation of streams to the same host after mutliple (re)connections to Optitrack, and a waste of bandwidth. |
get_noise (attribute)
Outputs
|
set_noise (attribute)
Inputs
|
get_bw (attribute)
Outputs
|
ping (activity)
Outputs
|
Throws
|
Context
|
Ping the server
refresh (function)
Throws
|
Refetch rigid body names
body_list (function)
Outputs
|
Throws
|
Return the list of available bodies
connect (activity)
Inputs
|
Throws
|
Context
|
Export live marker data
disconnect (activity)
Throws
|
Context
|
Stop exporting live marker data
get_logfile (attribute)
Outputs
|
Get the log file name
set_logfile (attribute)
Inputs
|
Throws
|
Define the log file name
unset_logfile (function)
Stop logging
Tasks
publish
Context
|
Throws
|