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

Implement a way of setting up the depth live #1

Closed
theelims opened this issue Sep 11, 2021 · 1 comment
Closed

Implement a way of setting up the depth live #1

theelims opened this issue Sep 11, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@theelims
Copy link
Owner

Right now the lib has no feature to set up the depth and get a live feedback. It can only go full in or full out. However, it would be desirable to have it follow the depth setting to find an optimal position before starting the stroking.

@theelims theelims added the enhancement New feature or request label Sep 11, 2021
@theelims theelims added this to To do in StrokeEngine via automation Sep 11, 2021
@theelims theelims self-assigned this Sep 11, 2021
@theelims theelims moved this from To do to Done in StrokeEngine Sep 11, 2021
@theelims
Copy link
Owner Author

In a special setup mode it will always follow the Depth position. By envoking Stroker.setupDepth(); it will start to follow the depth position whenever Stroker.setDepth(float); is updated. Takes the speed in mm/s as an argument: e.g. Stroker.setupDepth(10.0); Speed defaults to 10 mm/s. With float Stroker.getDepth() one may obtain the current set depth to calculate incremental updates for Stroker.setDepth(float). Can be called from states SERVO_RUNNING and SERVO_READY and stops any current motion. Returns false if called in a wrong state.

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
No open projects
Development

No branches or pull requests

1 participant