Airspace-Encounter-Models / Airspace-Encounter-Models/em-model-manned-bayes

[BUG] UncorEncounterModel sample and track functions require three specific dynamic variables and fails when acceleration, climb rate, or turn rate is not present

未关闭
#41 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug enhancement help wanted
主要语言
MATLAB
星标
22
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

### Description

`UncorEncounterModel` class methods of `sample` and subsequently `track` assume the Bayesian network has dynamic variables for acceleration (`'\dot v'`), climb rate (`'\dot h'`), and turn rate (`'\dot \psi'`). While this is true for most models, the unconventional balloon and weather balloon models only have a dynamic variable for climb rate and not for acceleration or turn rate.

### Reproducibility

Change `RUN_uncor` to use the unconventional model parameter file of balloon_v1.txt or weatherballoon_v1.txt. The script will throw an error when calling the `sample` method of `UncorEncounterModel`.

```matlab
parameters_filename = [getenv('AEM_DIR_BAYES') filesep 'model' filesep 'balloon_v1.txt'];
```

### Expectation

Update the `UncorEncounterModel` class methods of `sample` and `track` to handle any combination of dynamic variables of acceleration, climb rate, and turn rate.

### Additional

Upon resolving this issue, remove the warning issued by the `UncorEncounterModel` class constructor for the balloon models.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。