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

Abierto
#41 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug enhancement help wanted
Lenguaje dominante
MATLAB
Estrellas
22
Forks
9
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.