Skip to content

Enhance error handling, logging and tests for PI and Corvus classes#27

Merged
mmouchous-ledger merged 7 commits into
mainfrom
dev/dev
Mar 30, 2026
Merged

Enhance error handling, logging and tests for PI and Corvus classes#27
mmouchous-ledger merged 7 commits into
mainfrom
dev/dev

Conversation

@mmouchous-ledger

Copy link
Copy Markdown
Member

Merging fixes for issues #25 #23

mmouchous-ledger and others added 7 commits March 30, 2026 10:30
- Updated ProtocolError to include expected values in its string representation.
- Improved error handling in the query method to raise ProtocolError with detailed context.
- Added logging statements in test cases to provide better visibility into the PI class operations and states.
- Added debug logging for command sending and response receiving in the Corvus class.
- Updated parameter documentation for the `calibrate` method to clarify its purpose.
- Introduced new test cases for the Corvus class to validate connection, position, velocity, acceleration, and movement functionalities, ensuring robust testing for hardware interactions.
Enhance error handling and logging in PI class
@mmouchous-ledger mmouchous-ledger self-assigned this Mar 30, 2026
@mmouchous-ledger mmouchous-ledger added the enhancement New feature or request label Mar 30, 2026
@mmouchous-ledger mmouchous-ledger merged commit b3931c9 into main Mar 30, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for CORVUS Reduce the AssertionError exceptions for PI Stages

1 participant