JSBSim-Team / jsbsim

An open source flight dynamics & control software library
GNU Lesser General Public License v2.1
1.22k stars 420 forks source link

Linearization from console executable and xml script #991

Closed vtpasquale closed 5 months ago

vtpasquale commented 5 months ago

This pull request corresponds to issue #989. Enables linearization from console executable and xml script; this workflow was available in previous JSBSim versions. The example script shows how to use the feature with the existing 737 aircraft model.

I think we can ultimately do better than this workaround: https://github.com/JSBSim-Team/jsbsim/issues/989#issuecomment-1819929733

codecov[bot] commented 5 months ago

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (5c31c25) 24.88% compared to head (966f665) 24.87%.

Files Patch % Lines
src/FGFDMExec.cpp 14.28% 6 Missing :warning:
src/initialization/FGLinearization.cpp 0.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #991 +/- ## ========================================== - Coverage 24.88% 24.87% -0.01% ========================================== Files 168 168 Lines 18899 18908 +9 ========================================== + Hits 4703 4704 +1 - Misses 14196 14204 +8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

agodemar commented 5 months ago

@bcoconni is there a problem in this check?

C/C++ build / C/C++ build (MSVC) (OFF) (pull_request)

seanmcleod commented 5 months ago

There was a single test that failed, the TestInputSocket test.

bcoconni commented 5 months ago

This test randomly fails. Nothing to worry about. Simply clicking "Re-run failed tests" fixed the problem.