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

Add "rest" and "active" positions to Servo #18

Open
Gidntsquia opened this issue Apr 2, 2021 · 0 comments
Open

Add "rest" and "active" positions to Servo #18

Gidntsquia opened this issue Apr 2, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Gidntsquia
Copy link
Member

Every servo has two main positions: the position it starts in and the position it moves to in order to do an action. We can standardize this by adding "rest" and "active" position constants to the Servo class along with corresponding functions like move_to_rest() and move_to_active(). The "rest" position would be where the servo starts and the "active" position would be where it moves to do something. A claw's "rest" could be open and "active" closed.

@Gidntsquia Gidntsquia added the enhancement New feature or request label Apr 2, 2021
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

No branches or pull requests

1 participant