7 Commits

Author SHA1 Message Date
HaeryangKim
a4511359e9 commit2 2024-12-05 14:49:26 +09:00
HaeryangKim
978f5366e6 commit 1 2024-12-05 14:49:15 +09:00
HaeryangKim
d3c1ebd311 Refactor and improve code readability, error handling, and logging
- **camera_widget.py**:
  - Improved variable initialization with comments for clarity.
  - Enhanced logging using `self.draw_command_output` for major actions.
  - Refactored error handling in tab addition, removal, camera connection, and disconnection.
  - Added feedback messages for better user interaction.

- **main.py**:
  - Added detailed logs for UI setup, camera addition, and removal.
  - Refactored the `draw_logo` method with exception handling and logs.
  - Improved stylesheet loading with error handling and default fallback.

- **processor_widget.py**:
  - Documented initialization and method purposes with inline comments.
  - Enhanced logs and error handling in point cloud saving, loading, and processing.
  - Added input validation checks for missing camera, settings, or source.

- **qtThread.py**:
  - Refactored threads with improved documentation and consistent error signals.
  - Added detailed logs using `self.handle_camera_output`.
  - Implemented robust error handling for camera discovery, connection, source capture, target capture, and disconnection.

- **visulization.py**:
  - Improved error handling in Open3D viewer setup and rendering updates.
  - Added QMessageBox alerts for critical errors in visualization.
  - Enhanced example usage with proper exception handling.

- Overall improvements:
  - Consistent use of single-line comments (`#`) instead of docstrings for inline explanations.
  - Enhanced user feedback with detailed logs and exception handling for all modules.
  - Maintained consistent coding style and error messages across the project.
2024-12-05 14:44:16 +09:00
HaeryangKim
3d5c15d381 qweqwewqewq 2024-12-05 14:15:48 +09:00
HaeryangKim
4583407ddd qqwe 2024-12-05 14:13:41 +09:00
HaeryangKim
6f1b6b6d82 test2 2024-12-05 13:50:21 +09:00
HaeryangKim
a4fd037a46 test commit 2024-12-05 13:35:07 +09:00