Arcades

Class SweetHomeDataSensorSimulated

Class that generate raw data.

Inherits from:

Info:
  • __init ( args )

    Default constructor

    Parameters:

Public Methods

keyboard_arrow_up
  • update ( action_index )

    Update provider according to the executed action.

    Overrides: DataSource:update

    Parameters:
    • integer action_index
      Index of the action executed
    Returns:
    • `self`

Private Methods

keyboard_arrow_up
  • _get_constraints ()

    Get constrained values of sensors.

    Apply constrained values according to the sensor model.

    Returns:
    • table Constrained sensors values

Static Fields

keyboard_arrow_up
  • SENSOR_MODEL

    Model to constrain some sensor value according to inferred state.