Skip to content
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

Modify Motor class API to allow dependency injection #210

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

jballoffet
Copy link
Member

@jballoffet jballoffet commented Jan 14, 2024

🎉 New feature

Related: #87

Summary

This PR modifies the Motor class API in order to allow dependency injection (so as to allow adding unit tests on a future PR).

More PRs will be sent to keep improving the code structure.

Note: this PR is expected to be submitted after #209.

Test it

Tested by performing manual integration tests on the robot hardware.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if it affects the public API)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@jballoffet jballoffet mentioned this pull request Jan 14, 2024
6 tasks
@jballoffet jballoffet force-pushed the jballoffet/inject-motor-dependencies branch 3 times, most recently from 712b847 to d2d2c1c Compare January 17, 2024 20:45
@jballoffet jballoffet force-pushed the jballoffet/inject-motor-dependencies branch from d2d2c1c to fcdeba1 Compare February 2, 2024 09:42
Copy link
Collaborator

@francocipollone francocipollone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jballoffet jballoffet merged commit 4064e50 into humble Feb 2, 2024
4 checks passed
@jballoffet jballoffet deleted the jballoffet/inject-motor-dependencies branch February 2, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants