RocketPy-Team / RocketPy

Next generation High-Power Rocketry 6-DOF Trajectory Simulation
https://docs.rocketpy.org/
MIT License
650 stars 159 forks source link

ENH: Generic Surfaces and Generic Linear Surfaces #680

Closed MateusStano closed 2 months ago

MateusStano commented 2 months ago

Pull request type

Checklist

Description

Breaking change


Remaining Tasks

It would be truly great to get some help on these minor tasks

Future Tasks

  1. Create an axisymmetric surface class that needs only cD, cL, either center of pressure or cm, and cl (roll moment coefficient)
  2. The Rocket class should have total coefficient attributes: cL, cQ, cD, cm, cn, cl. They should be included in Plots or Prints
  3. Add lateral stability analysis. The current center of pressure, static, and stability margins only works for axisymmetric configurations. GenericSurfaces and LinearGenericSurfaces are currently not included in those analysis.

Contributors

Special thanks to @kevin-alcaniz and Faraday Rocketry UPV for their contributions!!

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 85.51587% with 73 lines in your changes missing coverage. Please review.

Project coverage is 76.02%. Comparing base (bae7cae) to head (b9b44dd). Report is 101 commits behind head on develop.

Files with missing lines Patch % Lines
rocketpy/simulation/flight.py 66.19% 24 Missing :warning:
rocketpy/prints/aero_surface_prints.py 33.33% 14 Missing :warning:
rocketpy/plots/rocket_plots.py 45.00% 11 Missing :warning:
rocketpy/rocket/rocket.py 76.19% 10 Missing :warning:
...ocketpy/rocket/aero_surface/fins/free_form_fins.py 94.61% 7 Missing :warning:
rocketpy/rocket/aero_surface/generic_surface.py 95.60% 4 Missing :warning:
rocketpy/plots/aero_surface_plots.py 92.00% 2 Missing :warning:
rocketpy/prints/rocket_prints.py 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #680 +/- ## =========================================== + Coverage 75.45% 76.02% +0.56% =========================================== Files 96 99 +3 Lines 10887 11278 +391 =========================================== + Hits 8215 8574 +359 - Misses 2672 2704 +32 ```

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

Lucas-Prates commented 2 months ago

I get the following error from Scipy when trying to load the coefficients using a csv file with insufficient data. Maybe it's worth checking the number of rows on the csv?

image