Skip to content

Conversation

@HNam05
Copy link
Collaborator

@HNam05 HNam05 commented Jan 29, 2026

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:

  • Unit tests added
  • Existing tests pass
  • Manual testing performed

Steps to reproduce/test:
1.
2.
3.


Code Quality Checklist

Before requesting review, ensure:

  • I ran make format
  • I ran make test
  • All CI checks pass
  • Code follows project style & conventions
  • New functions/classes include docstrings
  • Public APIs are typed (type hints)

Documentation

  • Code comments updated
  • README updated (if needed)

Additional Notes

  • Anything else reviewers should know?
  • Attach outputs, plots, logs, or GIFs here.

@HNam05 HNam05 requested review from CatYang3 and Tsmorz January 29, 2026 13:32
@HNam05 HNam05 self-assigned this Jan 29, 2026
Copilot AI review requested due to automatic review settings January 29, 2026 13:32
@coveralls
Copy link

coveralls commented Jan 29, 2026

Pull Request Test Coverage Report for Build 21482383841

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 27 unchanged lines in 1 file lost coverage.
  • Overall coverage remained the same at 69.065%

Files with Coverage Reduction New Missed Lines %
motor_python/cube_mars_motor.py 27 57.59%
Totals Coverage Status
Change from base Build 21479257568: 0.0%
Covered Lines: 384
Relevant Lines: 556

💛 - Coveralls

Copy link

Copilot AI left a 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_degrees and min_position_degrees fields from MotorLimits dataclass
  • 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
@HNam05 HNam05 removed the request for review from CatYang3 January 29, 2026 14:40
@Tsmorz Tsmorz self-requested a review January 29, 2026 14:46
@HNam05 HNam05 merged commit 22be8e0 into main Jan 29, 2026
7 checks passed
@HNam05 HNam05 deleted the No-max-angle-limitations branch January 29, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants