Added Special puck option for FMX #420
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for a "special mount" mode in the application, allowing users to toggle between a standard dewar puck setup and a special puck configuration. The changes include UI updates to select the puck type, logic to handle the configuration switch, and adjustments to the dewar tree view to reflect the selected mode.
User Interface Enhancements:
gui/control_main.py)toggle_special_puckmethod to update the configuration and trigger a hard refresh of the dewar tree view when the puck type is changed. (gui/control_main.py)Dewar Tree View Adjustments:
refreshTreeDewarViewmethod to show only one puck and sector when "special mount" mode is enabled, otherwise using the standard configuration. (gui/dewar_tree.py)refreshTreeDewarView, which clears the model before updating, ensuring the view accurately reflects the current configuration. (gui/dewar_tree.py)Robot Control Logic:
unmountColdfunction to only park the robot gripper if the robot is online and "special mount" mode is not enabled, preventing unnecessary actions in special mode. (daq_lib.py)