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

Handling "data not ready" cases with sensors #80

Open
ishmis opened this issue Feb 1, 2023 · 0 comments
Open

Handling "data not ready" cases with sensors #80

ishmis opened this issue Feb 1, 2023 · 0 comments
Assignees
Labels
sensors Sensors Project

Comments

@ishmis
Copy link
Contributor

ishmis commented Feb 1, 2023

Often sensors we use give us the option to check if data is ready to be read from. If this is not the case, the ideal action is to check with the sensor again till data is ready rather than consider this a fatal error (like it is considered atm). The easiest solution to this would be to add a checkIfDataReady method for sensors before calling read. However, I will ignore this for now so fundamental sensor code can be written and tested - this fix will have to come after that.

@ishmis ishmis added the sensors Sensors Project label Feb 1, 2023
@ishmis ishmis self-assigned this Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sensors Sensors Project
Projects
None yet
Development

No branches or pull requests

1 participant