rjdmoore / fictrac

FicTrac: A webcam-based method for tracking spherical motion and generating fictive animal paths.
http://fictrac.rjdmoore.net/
Other
26 stars 29 forks source link

Are TCP sockets still an option for newer versions of Fictrac? #23

Closed MarkGalperin closed 1 year ago

MarkGalperin commented 1 year ago

My lab uses a previous commit of fictrac (before UDP was default) to enable TCP communication which is convenient for our systems as TCP servers must wait for the client program before starting acquisition and this allows us to trigger fictrac without waiting for initialization. Unlike TCP, UDP starts broadcasting right away, and I don't see any configuration parameters or build settings that revert fictrac to TCP. How can I configure the current version of fictrac to use TCP by default?

rjdmoore commented 1 year ago

Change this line to

#if 1

to use TCP instead of UDP.