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 LinearSpeedChange #89

Merged
merged 3 commits into from
Dec 23, 2020
Merged

Add LinearSpeedChange #89

merged 3 commits into from
Dec 23, 2020

Conversation

tthiery
Copy link
Member

@tthiery tthiery commented Sep 2, 2020

  • Add base class for iterative changes
  • Add example

#57 (non-breaking)

- Add base class for iterative changes
- Add example

#57 (non-breaking)
@tthiery tthiery added enhancement New feature or request area-device-motor labels Sep 2, 2020
@tthiery tthiery added this to the v3.0 (breaking) milestone Sep 2, 2020
@tthiery tthiery self-assigned this Sep 2, 2020
@tthiery
Copy link
Member Author

tthiery commented Sep 2, 2020

@Vouzamo Can you have a look into this Pull Request (and review it)? I took this iterative approach originally from your source base and saw it in different other places.

_logger = logger;
}

public async Task ExecuteAsync(TachoMotor motor, sbyte startSpeed, sbyte endSpeed, int steps, int milliseconds, CancellationTokenSource cts = default)
Copy link
Member Author

Choose a reason for hiding this comment

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

I am not so sure about this API interface. Should this routine auto-calculate the steps (to e.g. bring each change of motor speed in a sub (e.g.) 200ms interval?

@tthiery tthiery mentioned this pull request Sep 2, 2020
6 tasks
@tthiery tthiery marked this pull request as ready for review September 26, 2020 09:22
@tthiery tthiery marked this pull request as draft September 26, 2020 09:24
- Waiting Time is adjusted to command execution time (IO)

#57 non-breaking
@tthiery tthiery marked this pull request as ready for review December 23, 2020 17:50
@tthiery tthiery merged commit 0cac6c0 into master Dec 23, 2020
@tthiery tthiery deleted the issue-57-rampup branch December 23, 2020 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-device-motor enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant