QUB-ASL / bzzz

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

Implementation of `ESP` data checking in `process_ESP_data` in `main.py`. #108

Closed patchedByBatman closed 1 year ago

patchedByBatman commented 1 year ago

In reference to Why don't you make an issue about this? Otherwise, we'll forget.

_Originally posted by @alphaville in https://github.com/QUB-ASL/bzzz/pull/107#discussion_r1300013837_

This issue is opened to remind that, in function process_ESP_data in main.py, we are casting received UART data from ESP to floats. There was no check for data corruption implemented before casting.

There should be an additional check for data corruption to prevent program crashes.

patchedByBatman commented 1 year ago

This has been resolved in #107.