FDCA live tuning seems to be bugged
There seems to be an issue where we no longer can change the parameters of the FDCA while JOAN is running. This might be just an issue due to the fact that I cannot test thoroughly because I have no sensodrive available. But it might also be something else.
This should be looked into.
Probably something to do with the update dialog function.
Fix:
def update_dialog(self):
for controller_settings in self.module_manager.module_settings.haptic_controllers:
if self.module_manager.module_settings.haptic_controllers[controller_settings].identifier not in self._haptic_controller_tabs_dict:
self.add_haptic_controller(self.module_manager.module_settings.haptic_controllers[controller_settings], False)
self._haptic_controller_dialogs_dict[self.module_manager.module_settings.haptic_controllers[controller_settings].identifier].display_values(
self.module_manager.module_settings.haptic_controllers[controller_settings])
the line should be indented in the if statement.