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

Allows ServoTrim to set 0 to X arc for the motor. #198

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

EAGrahamJr
Copy link
Contributor

Fixes #197

The default mapping would turn out non-zero based angle values because the ddefault assumption is for a 180-degree motor. This new constructor set up the servo to turn from it's baseline 0 degrees to whatever maximum is supplied.

Also added a definition for MG90S metal-gear micro-servos.

Fixes mattjlewis#197

The default mapping would turn out non-zero based angle values because the ddefault assumption is for a 180-degree motor. This new constructor set up the servo to turn from it's baseline 0 degrees to whatever maximum is supplied.

Also added a definition for MG90S metal-gear micro-servos.
@mattjlewis mattjlewis merged commit 27ee16b into mattjlewis:main Apr 18, 2024
1 check passed
@EAGrahamJr EAGrahamJr deleted the servo-trim branch May 12, 2024 20:59
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.

ServoTrim assumes 180 degree rotation
2 participants