ControlTask

class ControlTask extends TimerTask

This TimerTask is run periodically by the ControlWorker

Author:Marcel Stefko

Constructors

ControlTask

public ControlTask(AnalysisWorker analysis_worker, Controller controller, Laser laser)

Initialize the ControlTask

Parameters:
  • analysis_worker – AnalysisWorker which will be queried for output
  • controller – Controller to which output of AnalysisWorker is fed
  • laser – Laser to which output of Controller is fed

Methods

getLastControllerOutput

public double getLastControllerOutput()
Returns:last controller output

run

public void run()