Skip to content

Conversation

@wtoqxy0000
Copy link
Contributor

Summary

  • Fix copy-paste error messages in rplidar_driver.py: get_health() and start() both incorrectly raised "Wrong get_info reply length" copied from get_info(), making debugging misleading
  • Fix inconsistent logger usage in unitree_realsense_dev_vlm_provider.py: two calls used module-level logging instead of the file's logger instance, causing logs to bypass the configured logger hierarchy

Files changed

  • src/providers/rplidar_driver.py — line 312, 380
  • src/providers/unitree_realsense_dev_vlm_provider.py — line 320, 333

Test plan

  • pre-commit hooks pass (ruff, black, isort, typos)
  • No behavior change, only corrects misleading messages and logging consistency

- Fix wrong exception messages in rplidar_driver.py: get_health() and
  start() both incorrectly used "Wrong get_info reply length" copied
  from get_info()
- Fix inconsistent logger usage in unitree_realsense_dev_vlm_provider.py:
  two calls used module-level logging instead of the file's logger instance
@wtoqxy0000 wtoqxy0000 requested review from a team as code owners February 10, 2026 16:37
@github-actions github-actions bot added robotics Robotics code changes python Python code labels Feb 10, 2026
@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/providers/rplidar_driver.py 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@wtoqxy0000 wtoqxy0000 requested a review from a team as a code owner February 11, 2026 05:10
@github-actions github-actions bot added the tests Test files label Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Python code robotics Robotics code changes tests Test files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants