AerospaceNU / AerospaceNU/better-engine-control-software
Implement moving filter on WatchDog
未关闭
enhancement
- 主要语言
- C++
- 星标
- 5
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently, our `FakeWatchDog` implementation will instantly freak out if it gets passed a bad SensorData once.
This might sound good, but it's not useful because it will take time for pressure and temperature readings to transition after a state change, so our WatchDog will probably trip every time we change states.
Implement a storage of past SensorDatas in a new WatchDog class, oldest will be replaced by newest so probably a queue. We will then average/use the median of sensor data readings across all SensorDatas in storage, and use that averaged SensorData to run redlines on.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。