ControllerSetupPanel

public abstract class ControllerSetupPanel extends javax.swing.JPanel

Makes sure that the added setup panels know how to initialize Controllers.

Author:Marcel Stefko

Methods

getName

public abstract String getName()

initController

public abstract Controller initController(double max_controller_output, double tick_rate_ms)

Initialize and return the controller based on GUI information.

Parameters:
  • max_controller_output – maximal output value, this is passed from different part of the GUI
  • tick_rate_ms – tick rate at which the controller will operate, passed from GUI
Returns:

initialized controller