nasa / progpy

The NASA Prognostic Python Packages is a Python framework focused on defining and building models and algorit for prognostics (computation of remaining useful life) of engineering systems, and provides a set of models and algorithms for select components developed within this framework, suitable for use in prognostic applications.
https://nasa.github.io/progpy/
Other
52 stars 7 forks source link

Update trajectory figures #136

Closed teubert closed 8 months ago

teubert commented 8 months ago

Update the way trajectory figures are generated to be a little more general.

The function in UAVModel still works the same as before, but now theres a function to explore a reference trajectory and it can be used outside of the UAVModel. This is important for when it's used with prog_server

github-actions[bot] commented 8 months ago

Thank you for opening this PR. Each PR into dev requires a code review. For the code review, look at the following:

codecov-commenter commented 8 months ago

Codecov Report

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

Comparison is base (bda3c9e) 83.41% compared to head (0ff35ab) 83.27%.

Files Patch % Lines
src/progpy/utils/traj_gen/trajectory.py 24.13% 22 Missing :warning:
...c/progpy/models/aircraft_model/small_rotorcraft.py 14.28% 12 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #136 +/- ## ========================================== - Coverage 83.41% 83.27% -0.14% ========================================== Files 100 100 Lines 10461 10488 +27 ========================================== + Hits 8726 8734 +8 - Misses 1735 1754 +19 ```

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