joshua-jerred / Giraffe

A Unified High Altitude Flight Observation and Control System. With homogeneous software and hardware, both on the ground and in the air.
https://giraffe.joshuajer.red/
Other
0 stars 0 forks source link

Hard Fault on invalid bme280 config #207

Closed joshua-jerred closed 8 months ago

joshua-jerred commented 8 months ago

image image

joshua-jerred commented 8 months ago

The fault is not related to the config. However, the issue with the config was treating the bme280 enabled option as a string. Probably related to a call to dateAndTimeToTimePoint somewhere

joshua-jerred commented 8 months ago

The current assumption is that it's related to the following lines as it has only been seen soon after adding a samm8q in the config.

https://github.com/joshua-jerred/Giraffe/blob/c79d168e90ba4295580119f2163c120147790046/src/flight_system/extensions/samm8q.cpp#L286C1-L290C1

Data reliability with the SAMM8Q needs to be revisited. See issue #210