-
Notifications
You must be signed in to change notification settings - Fork 1
No max angle limitations, moved CAD files to folder #48
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
Conversation
Pull Request Test Coverage Report for Build 21482383841Details
💛 - Coveralls |
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 removes the maximum and minimum position degree limitations from the motor control system, allowing unrestricted rotation angles beyond ±360°. The changes eliminate safety constraints that previously clamped motor positions to a single rotation range.
Changes:
- Removed
max_position_degreesandmin_position_degreesfields fromMotorLimitsdataclass - Eliminated position clamping logic and warning messages in
set_position()method - Updated docstring to remove mention of ±360° limitation
Reviewed changes
Copilot reviewed 2 out of 11 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/motor_python/definitions.py | Removed position limit constants from MotorLimits dataclass |
| src/motor_python/cube_mars_motor.py | Removed position validation, clamping logic, and updated documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Update position limits to hardware maximum (±2147.5°, ~6 rotations) - Bump version to 0.0.5 - Move PDFs to docs/ directory - Update README structure
Summary
Provide a brief description of the change and the reasoning behind it.
Reviewers
Required Reviewers
Optional Reviewers
(Feel free to add/remove as needed.)
What Changed?
Describe the main changes in this PR:
Testing
Describe how you verified functionality:
Steps to reproduce/test:
1.
2.
3.
Code Quality Checklist
Before requesting review, ensure:
make formatmake testDocumentation
Additional Notes