Increasing the size of the max samples causes delays when trying read the most up to date values.
This is due to writing to the entirety of the timestamp array every time a new sensor reading was recorded.
This bug has been fixed
Associated Issues
Closes #235
Addresses the time.sleep(0.018) needed in main.py issue mentioned in PR #215
Tests
This has been tested with the Evo ToF sensor and anemometer on the quadcopter.
A test was also carried out to check it would fix time.sleep(0.018) needed in main.py
Main Changes
Increasing the size of the max samples causes delays when trying read the most up to date values. This is due to writing to the entirety of the timestamp array every time a new sensor reading was recorded. This bug has been fixed
Associated Issues
time.sleep(0.018)
needed inmain.py
issue mentioned in PR #215Tests
This has been tested with the Evo ToF sensor and anemometer on the quadcopter. A test was also carried out to check it would fix
time.sleep(0.018)
needed inmain.py