Deploy
- module Deploy
- DeployWindow : public QWidget
The DeployWindow class is a PySide2 Graphical User Interface (GUI) window that is called by MainWindow class in order to configure a custom session and write to session_config.json.
Public Functions
- __init__(self, debug=False)
The constructor. Sets the size of the window and configurations for session_config. Checks if the session_config.json file exists. If true, configure accordingly. Otherwise, assign default values. Calls setButtons function to populate window with button.
- printDeployConfig(self)
A Non-Return Getter function that prints EPD Deployment configurations that are not displayed clearly in EPD GUI, on terminal.
- setButtons(self)
A Mutator function that defines all buttons in DeployWindow.
- deployPackage(self)
A Mutator function that runs a bash script that checks if the _is_running boolean flag is True or not.\n If False, run bash script to run ROS2 package with session_config.json and usecase_config.json Otherwise, run bash script to kill ROS2 package processes remotely.
- setImageInput(self)
A Mutator function that writes to line 25 of run.launch.py file based on new image topic.
- doesFileExist(self, input_filepath)
A Getter function that checks if a given file exists.
- setVisualizeFlag(self)
A function is triggered by the button labelled, Visualize/Action.
- setDockerFlag(self)
A function is triggered by the button labelled, CPU/GPU.
- setUseCase(self, index)
A function is triggered by the DropDown Menu labelled, UseCase.
- updateSessionConfig(self)
A Mutator function that updates the session_config.json file.
- setModel(self)
A function is triggered by the button labelled, ONNX Model.
- setLabelList(self)
A function is triggered by the button labelled, Label List.