Skip to content

How to load hardware controllers #2

@bicarlsen

Description

@bicarlsen

In commit 2e19490 on the split_files branch I've updated the architecture a bit. The idea with this reorganization being that a System consists of a lamp, SMU, computer (which defines file locations), and IV system (which defines calibration parameters). The lamp and SMU are controllers with a common interface -- e.g. every lamp has the lamp_on, lamp_off, etc. methods -- where the actual instances are pulled in, but are separate from the main package.

My idea is that each of the hardware controllers has a unique name that can be specified in the settings. In the Computer settings you can specify folders to find the hardware controller implementations, and there will be a function that searches these folders, pulls in all the sound controllers, and uses the one with the matching name specified in the lamp or smu settings.

Another possibility would be to just specify the file location of the controllers directly in the lamp and smu settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    rfcRequest for comment

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions