Interface IControlAlgorithmStrategy
Interface for control algorithm strategies. Implement this (or extend ControlStrategyBase) to create custom control algorithms.
Namespace: MOSAIC.Components.Manager.ControlAlgorithm
Assembly: MOSAIC.dll
Syntax
public interface IControlAlgorithmStrategy
Properties
Name
Name of this strategy (used for JSON export and UI display).
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetControlDict()
Gets the current DOA actuation values (typically [0,100]).
Declaration
Dictionary<DegreesOfActuation, double> GetControlDict()
Returns
| Type | Description |
|---|---|
| Dictionary<DegreesOfActuation, double> |
ProcessPrediction(Vector<double>)
Processes a prediction vector and updates actuation values.
Declaration
void ProcessPrediction(Vector<double> prediction)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector<double> | prediction |
Reset()
Resets all DOA values to defaults.
Declaration
void Reset()