This fixes 2 main issues and amends a minor issue:
Configuration of submodules will not save
Problem: SensorSystem config does not get updated when subsystem config is updated.
Solution: When SensorSystem receives a CONFIG_CHANGED module event, it will update the config with the new subsystem config.
Submodules do not show up when OSH starts
Problem: Submodules do not load until initialization of the SensorSystem, so they won't load unless started or module's autostart is enabled.
Solution: Load submodules when SensorSystem loads. NOTE Cannot do this in SensorSystem constructor as the new object does not have config to read subsystems from. So, subsystems are loaded when the SensorSystem receives a SensorSystemConfig.
Minor Changes for System driver database
Update the SystemFilter to search for withNoParent() systems to enforce parent system managing subsystems
Allow submodules to update their driverhandler if needed. doRegisterMember() checks if submodule already has a handler and updates it if so
This fixes 2 main issues and amends a minor issue:
Configuration of submodules will not save
CONFIG_CHANGED
module event, it will update the config with the new subsystem config.Submodules do not show up when OSH starts
Minor Changes for System driver database
withNoParent()
systems to enforce parent system managing subsystemsdoRegisterMember()
checks if submodule already has a handler and updates it if so