QUB-ASL / bzzz

Quadcopter with ESP32 and RaspberryPi
MIT License
7 stars 0 forks source link

Timestamp Slowdown #236

Closed jamie-54 closed 1 month ago

jamie-54 commented 1 month ago

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

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