-
Notifications
You must be signed in to change notification settings - Fork 39
Motor test backend #700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Motor test backend #700
Conversation
Test Results 2 files 2 suites 1m 31s ⏱️ For more details on these failures, see this check. Results for commit 064deae. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a comprehensive motor test GUI for ArduPilot flight controllers, implementing a complete Model-View architecture with robust testing capabilities. The implementation adds motor testing functionality, frame configuration management, battery safety monitoring, and SVG diagram rendering through new GUI components and data models.
- Motor test GUI implementation with safety features and real-time feedback
- Exception-based error handling refactoring in data model with comprehensive validation
- SVG conversion utilities for motor diagrams with multiple backend support
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_data_model_motor_test.py | Updated tests to use exception-based error handling and properties instead of method calls |
| scripts/download_motor_diagrams.py | Added SVG to PNG conversion functionality with multiple backend support |
| pyproject.toml | Added scikit-build and tksvg dependencies for GUI functionality |
| ardupilot_methodic_configurator/frontend_tkinter_motor_test.py | New comprehensive motor test GUI implementation with safety features |
| ardupilot_methodic_configurator/data_model_motor_test.py | Major refactoring to exception-based error handling and property-based API |
| ardupilot_methodic_configurator/backend_flightcontroller.py | Added fetch_param method for parameter verification |
| ardupilot_methodic_configurator/backend_filesystem_program_settings.py | Restructured motor test settings to nested configuration |
| ARCHITECTURE_motor_test.md | Updated documentation to reflect implemented features |
| .vscode/launch.json | Added debug configuration for motor test frontend |
f55c184 to
260b790
Compare
bfe5d7f to
635281e
Compare
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
23dbc48 to
9253df4
Compare
9253df4 to
064deae
Compare
It now raises exceptions that the frontend should catch and display to the user. The motor diagrams are all png now, I've given up on svg. They're to hard to render correctly
064deae to
09544d5
Compare
A comprehensive motor test business logic for ArduPilot flight controllers, implementing the complete model in a Model-View architecture with robust testing capabilities. The implementation adds motor testing functionality, frame configuration management, battery safety monitoring