Documentation for the dp-threshold-controller module

The threshold-controller module

This module implements a simple threshold based controller which will read a single scalar from an LSL stream and broadcast another scalar value to LSL. The github repository for this module is located at: https://github.com/bsdlab/dp-threshold-controller

dp-threshold-controller

Contains the main functionality of the threshold controller.

main.main Main processing loop for the threshold controller.
main.get_main_thread Run the main processing loop in a separate thread.
main.compute_controller_output Compute the output of the controller.
main.init_lsl_outlet Initialize an LSL (Lab Streaming Layer) outlet for threshold controller output.
main.connect_stream_watcher Connect to and configure the input stream watcher.