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: Adds Sensors classes #683

Closed Gui-FernandesBR closed 2 months ago

Gui-FernandesBR commented 2 months ago

Pull request type

Checklist

New behavior

We are finally adding the Sensor class and its children!!

Breaking change

Additional information

This work was mainly done by @MateusStano and it's almost ready, just needs a final double check.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 95.44554% with 23 lines in your changes missing coverage. Please review.

Project coverage is 75.42%. Comparing base (2685eba) to head (3c759f7). Report is 134 commits behind head on develop.

Files with missing lines Patch % Lines
rocketpy/sensors/sensor.py 93.46% 10 Missing :warning:
rocketpy/simulation/flight.py 90.62% 6 Missing :warning:
rocketpy/control/controller.py 75.00% 3 Missing :warning:
rocketpy/mathutils/vector_matrix.py 90.90% 2 Missing :warning:
rocketpy/plots/rocket_plots.py 95.83% 1 Missing :warning:
rocketpy/rocket/components.py 83.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #683 +/- ## =========================================== + Coverage 74.46% 75.42% +0.95% =========================================== Files 89 96 +7 Lines 10368 10841 +473 =========================================== + Hits 7721 8177 +456 - Misses 2647 2664 +17 ```

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