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

Handle setPosition() failure in the same way whether sync or async #31

Open
climategadgets opened this issue Aug 9, 2018 · 0 comments

Comments

@climategadgets
Copy link
Owner

Currently, Servo#setPosition() throws IOException. However, this will not properly if the position is changed asynchronously, either via hardware means (limited speed or acceleration) or transition controllers.

Need to communicate a failure to the caller in an identical way whether the transition is instantaneous, or delayed.

This is related to #30.

climategadgets added a commit that referenced this issue Aug 9, 2018
FIXME: transition controller will not handle failures correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant