Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: update master with develop for version 1.2.0 #536

Merged
merged 301 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from 175 commits
Commits
Show all changes
301 commits
Select commit Hold shift + click to select a range
beb22ab
MNT: update CHANGELOG.
phmbressan Nov 28, 2023
191ab9f
Merge pull request #488 from RocketPy-Team/enh/function-reverse-arith
phmbressan Nov 28, 2023
1e8a0cb
ENH: change cd to drag_coefficient
MateusStano Nov 28, 2023
7ff9c06
BUG: fix initial previous_state
MateusStano Nov 28, 2023
1f787b9
TST: add air brakes tests
MateusStano Nov 28, 2023
0180755
TST: Simple refactoring
lucasfourier Nov 29, 2023
fcea30a
GIT: Set code owners as @RocketPy-Team/code-owners
giovaniceotto Nov 29, 2023
62c8bb6
Fix code style issues with Black
lint-action Nov 29, 2023
438f4c0
MNT: improve warnings
MateusStano Nov 29, 2023
dcdd6bd
Merge remote-tracking branch 'origin/develop' into enh/get-attributes
MateusStano Nov 29, 2023
b27edc3
TST: add test
MateusStano Nov 29, 2023
d29dc02
DOC: update header related docs for new Function changes
MateusStano Nov 29, 2023
31b6793
Fix code style issues with Black
lint-action Nov 29, 2023
cd366f2
MNT: update changelog
MateusStano Nov 29, 2023
53c75b3
Merge branch 'doc/update-header-docs' of https://github.com/RocketPy-…
MateusStano Nov 29, 2023
58637d3
Merge pull request #493 from RocketPy-Team/git/code-owners
MateusStano Nov 29, 2023
a6dfea3
MNT: Fix typo in parachute trigger string
Gui-FernandesBR Nov 30, 2023
ae45abe
Merge pull request #489 from RocketPy-Team/enh/case-sensitive-triggers
Gui-FernandesBR Nov 30, 2023
daa2dd6
MNT: Update parachute __repr__ method 2 convention
Gui-FernandesBR Nov 30, 2023
72ca940
MNT: Update CHANGELOG.md
Gui-FernandesBR Nov 30, 2023
8def7ad
Merge branch 'develop' into mnt/parachute-repr-method
Gui-FernandesBR Nov 30, 2023
a9ac31c
Merge pull request #490 from RocketPy-Team/mnt/parachute-repr-method
Gui-FernandesBR Nov 30, 2023
22a83d4
TST: Restructuring the test suite
lucasfourier Dec 1, 2023
f5bb9a9
TST: Removing unnecessary files
lucasfourier Dec 1, 2023
2efb0b1
TST: Isolate function unit tests.
lucasfourier Dec 2, 2023
feb3299
Merge pull request #477 from RocketPy-Team/enh/get-attributes
MateusStano Dec 2, 2023
94eded4
MNT: remove uncessary note
MateusStano Dec 2, 2023
7722736
Merge pull request #494 from RocketPy-Team/tst/testing-refactor
MateusStano Dec 2, 2023
3f3a04d
TST: Isolate utilities unit tests.
lucasfourier Dec 2, 2023
451a987
TST: isolate flight unit tests
lucasfourier Dec 2, 2023
afd4953
TST: isolate rocket unit tests
lucasfourier Dec 2, 2023
e5f2717
TST: isolate solidmotor unit tests.
lucasfourier Dec 2, 2023
5ca1f7b
TST: isolating test plots unit tests
lucasfourier Dec 2, 2023
b57e642
TST: isolate environment unit tests
lucasfourier Dec 2, 2023
d548851
TST: isolate test_tools_vector unit tests
lucasfourier Dec 2, 2023
ef93760
MNT: Fix typos in airbrakes documentation
Gui-FernandesBR Dec 2, 2023
4224338
TST: isolating unit tests from test_tools_matrix
lucasfourier Dec 2, 2023
e5ddeba
Merge branch 'master' into develop
Gui-FernandesBR Dec 3, 2023
c26a1fa
Merge branch 'develop' into tst/testing-suite-reestructuring
lucasfourier Dec 3, 2023
5a9bb78
Fix code style issues with Black
lint-action Dec 3, 2023
13204ce
MNT: Applying isort and black to tests
lucasfourier Dec 3, 2023
8bd1ade
Merge pull request #499 from RocketPy-Team/tst/testing-suite-reestruc…
lucasfourier Dec 3, 2023
a964662
Merge pull request #495 from RocketPy-Team/doc/update-header-docs
Gui-FernandesBR Dec 3, 2023
b83059c
optimization of get_value_opt in set_get_value_opt
styris00 Dec 3, 2023
d4dbbce
Fix code style issues with Black
lint-action Dec 3, 2023
9b9f7b5
MNT: Update interpolation method in
Gui-FernandesBR Dec 7, 2023
d7a13f2
TST: Add unit test for get_value_opt method
Gui-FernandesBR Dec 7, 2023
1a822a3
Merge pull request #505 from RocketPy-Team/tst/test_get_value_opt
Gui-FernandesBR Dec 7, 2023
8b6609a
Update rocketpy/control/controller.py
MateusStano Dec 7, 2023
5c33807
Update rocketpy/plots/aero_surface_plots.py
MateusStano Dec 7, 2023
c4677e4
Update rocketpy/plots/aero_surface_plots.py
MateusStano Dec 7, 2023
89ed9fa
MNT: remove return None from aero plots
MateusStano Dec 7, 2023
6c3a668
MNT: controller docs and air brakes prints
MateusStano Dec 7, 2023
2751568
Merge pull request #504 from RocketPy-Team/tst/fix-linearly_interpola…
Gui-FernandesBR Dec 7, 2023
8ba8202
ENH: remove state list and add saved returns for controller_function
MateusStano Dec 8, 2023
34622e8
MNT: controllable_objects to interactable_objects
MateusStano Dec 8, 2023
bf0fb81
ENH: fix initial_observed_values
MateusStano Dec 8, 2023
0d18940
Merge pull request #501 from RocketPy-Team/enh/get-value-opt-method
styris00 Dec 11, 2023
ff2e143
Update rocketpy/control/controller.py
MateusStano Dec 15, 2023
ea13c73
Merge branch 'master' into develop
Gui-FernandesBR Dec 16, 2023
4a426df
ENH : created a low pass filter implementation that works only for cs…
Dec 8, 2023
c9214da
add comments to the low_pass_filter method
Dec 8, 2023
0e88aa8
Add explanations to alpha values
Dec 8, 2023
c7e5cde
Fix code style issues with Black
lint-action Dec 8, 2023
5de4e81
Update rocketpy/mathutils/function.py
kalounis Dec 8, 2023
b06764b
Update rocketpy/mathutils/function.py
kalounis Dec 8, 2023
3e59ded
Fix code style issues with Black
lint-action Dec 8, 2023
7a05767
low pass filter docstring updated
ClementMonaco Dec 12, 2023
b024f06
Fix code style issues with Black
lint-action Dec 12, 2023
d90420f
Test for low_pass_filter method
ClementMonaco Dec 17, 2023
c6c9a25
Fix code style issues with Black
lint-action Dec 17, 2023
18881b2
TST: Fix tests note passing and sets abs tolerance
Gui-FernandesBR Dec 17, 2023
7eb4a73
DOC: Refactor low_pass_filter docstring to pass sphinx
Gui-FernandesBR Dec 17, 2023
8a7ab31
Merge pull request #508 from RocketPy-Team/enh/filter-method
kalounis Dec 17, 2023
72df17a
ENH: Add savetxt method to Function class for saving data to a text file
Gui-FernandesBR Dec 17, 2023
69317c3
TST: add unit tests to cover the savetxt method
Gui-FernandesBR Dec 17, 2023
0247289
DOC: Add export functionality to Function class usage docs
Gui-FernandesBR Dec 17, 2023
e3b468d
MNT: updates the CHANGELOG after #514
Gui-FernandesBR Dec 17, 2023
260e8d8
DOC: update docs
MateusStano Dec 18, 2023
a631b6f
TST: update tests
MateusStano Dec 18, 2023
995b97a
Merge pull request #507 from RocketPy-Team/enh/new-controller-structure
MateusStano Dec 18, 2023
127b93d
Merge branch 'develop' into enh/air-brakes
MateusStano Dec 18, 2023
db9abb7
Fix code style issues with Black
lint-action Dec 18, 2023
9f2946f
ENH: create DataFrameToFlight class
Gui-FernandesBR Nov 20, 2023
32fd6e7
ENH: Flight.altitude attribute created
Gui-FernandesBR Nov 20, 2023
aab5366
ENH: Refactor new class to be more flexible
Gui-FernandesBR Nov 26, 2023
12a2ef4
MNT: Refactor units conversion dictionary
Gui-FernandesBR Nov 26, 2023
3957b92
MNT: rename flight_data_importer.py file
Gui-FernandesBR Nov 26, 2023
6f86cb7
TST: Add tests for FlightDataImporter class
Gui-FernandesBR Nov 26, 2023
b0854db
FIX: wrong name in flight data importer assertion
Gui-FernandesBR Nov 26, 2023
d2879d4
ENH: refactor the class to accept multiple files
Gui-FernandesBR Dec 17, 2023
1ca5ee7
TST: adjust tests to the new class format
Gui-FernandesBR Dec 17, 2023
46cd7cc
MNT: Fix case sensitivity issue in determining the time column
Gui-FernandesBR Dec 17, 2023
77e5449
ENH: support a list of file paths
Gui-FernandesBR Dec 17, 2023
66720b0
DOC: update documentation and change separator to delimiter
Gui-FernandesBR Dec 18, 2023
fd47c95
MNT: argument 'name' is no long mandatory
Gui-FernandesBR Dec 18, 2023
c740c38
Fix code style issues with Black
lint-action Dec 18, 2023
2134956
DOC: juno3 - Add weather and rocket data
Gui-FernandesBR Nov 20, 2023
4064d71
DOC: Add juno3_flight_sim.ipynb
Gui-FernandesBR Nov 20, 2023
8b5a9f5
MNT: Update column names in cots_altimeter.csv
Gui-FernandesBR Dec 17, 2023
57b89b6
MNT: update juno3 example notebook
Gui-FernandesBR Dec 17, 2023
a9da239
MNT: update columns in cots_GNSS.csv file
Gui-FernandesBR Dec 17, 2023
4a350ee
MNT: polishup the notebook
Gui-FernandesBR Dec 18, 2023
6347371
Merge pull request #513 from RocketPy-Team/enh/add-juno3-example
Gui-FernandesBR Dec 18, 2023
c57c200
ENH: add multiple argument support for shepard opt.
phmbressan Dec 19, 2023
3cd456f
TST: improve testing of higher dimensional functions.
phmbressan Dec 19, 2023
954be1d
FIX: interpolation return type if single value array.
phmbressan Dec 19, 2023
7eab8ed
TST: move testing to unit module.
phmbressan Dec 19, 2023
8fdfa55
MNT: update CHANGELOG with changes.
phmbressan Dec 19, 2023
5c03d7b
FIX: EmptyMotor no longer breaks the rocket draw
Gui-FernandesBR Dec 19, 2023
f1367e3
MNT: update CHANGELOG.md
Gui-FernandesBR Dec 19, 2023
34ed384
MNT: solve minor test placement issue.
phmbressan Dec 19, 2023
476872f
Merge pull request #516 from RocketPy-Team/bug/empty-motor-draw
Gui-FernandesBR Dec 19, 2023
4ed16be
MNT: avoid code interpolation code repetition.
phmbressan Dec 19, 2023
08dae44
MNT: update github actions (#500)
Gui-FernandesBR Dec 20, 2023
768f0c0
BUG: Refactor fin_flutter_analysis function to handle multiple fin sets
Gui-FernandesBR Dec 14, 2023
9140dd1
MNT: refactor utilities.fin_flutter_analysis
Gui-FernandesBR Dec 14, 2023
af6b630
TST: refactor and improve fin_flutter_analysis tests
Gui-FernandesBR Dec 14, 2023
6f4c3c3
MNT: raise AttributeError instead of print and updates changelog
Gui-FernandesBR Dec 20, 2023
086a924
Merge pull request #510 from RocketPy-Team/bug/fix-fin-flutter
Gui-FernandesBR Dec 20, 2023
013cb50
Add of a line for saving the filtered dataset
Dec 20, 2023
4d8af18
Fix code style issues with Black
lint-action Dec 20, 2023
87f2c2b
ENH: option in Function discretize to not mutate.
phmbressan Dec 20, 2023
b809116
TST: add simple unit tests for Function discretize.
phmbressan Dec 20, 2023
e6b85e3
MNT: update CHANGELOG with recent changes.
phmbressan Dec 20, 2023
facb1b6
Added a parameter to low_pass_function : the user is now able to chos…
Dec 21, 2023
ad62bf4
Merge branch 'enh/save-filtered-data' of https://github.com/RocketPy-…
Dec 21, 2023
cd897a9
Fix code style issues with Black
lint-action Dec 21, 2023
14dd0f6
Merge pull request #518 from RocketPy-Team/enh/save-filtered-data
kalounis Dec 21, 2023
7f033d8
BUG: fix the label of 3D trajectory plot and add aesthetics
Gui-FernandesBR Jan 14, 2024
ee9348d
Merge pull request #533 from RocketPy-Team/bug/3d-trajectory-plot-label
Gui-FernandesBR Jan 16, 2024
b7b01a4
MNT: correct CHANGELOG update placement to ADD.
phmbressan Jan 17, 2024
a445f6e
MNT: prevent higher dimensional Function from discretize.
phmbressan Jan 17, 2024
e57fab9
ENH: option in Function discretize to not mutate.
phmbressan Dec 20, 2023
e59041a
TST: add simple unit tests for Function discretize.
phmbressan Dec 20, 2023
407204a
MNT: update CHANGELOG with recent changes.
phmbressan Dec 20, 2023
6d3d823
MNT: correct CHANGELOG update placement to ADD.
phmbressan Jan 17, 2024
9b20258
MNT: prevent higher dimensional Function from discretize.
phmbressan Jan 17, 2024
fe90f77
Merge branch 'master' into develop
Gui-FernandesBR Jan 18, 2024
acbc14d
MNT: remove repeated test case.
phmbressan Jan 18, 2024
110ef9e
Merge branch 'develop' into enh/shepard-multiple-opt
phmbressan Jan 18, 2024
a1ba056
Merge remote-tracking branch 'origin/enh/optional-discretize-mutation…
phmbressan Jan 19, 2024
2205fdf
Merge branch 'develop' into enh/optional-discretize-mutation
phmbressan Jan 19, 2024
a14e7e8
Merge pull request #519 from RocketPy-Team/enh/optional-discretize-mu…
Gui-FernandesBR Jan 20, 2024
30be2db
Merge branch 'develop' into enh/function-savetxt
Gui-FernandesBR Jan 20, 2024
696e709
ENH: no longer mutates the Function obj when using savetxt()
Gui-FernandesBR Jan 20, 2024
1de49c9
Merge branch 'develop' into enh/shepard-multiple-opt
Gui-FernandesBR Jan 20, 2024
5c1267f
ENH: add barometric_height to environment
MateusStano Dec 15, 2023
f301352
ENH: get hAGL from barometric_height
MateusStano Dec 15, 2023
ead9322
MNT: update changelog
MateusStano Dec 15, 2023
07d4c33
DOC: improve black formatting
MateusStano Dec 18, 2023
2b06a7e
ENH: add extrapolation to barometric_height
MateusStano Dec 18, 2023
e787b11
TST: add barometric_height to tests
MateusStano Dec 18, 2023
0551317
ENH: add use of natural extrapolation to barometric_height
MateusStano Jan 18, 2024
4225405
MNT: Add new variable barometric_height_ISA to .pylintrc
Gui-FernandesBR Jan 20, 2024
5ced96d
Merge pull request #514 from RocketPy-Team/enh/function-savetxt
Gui-FernandesBR Jan 21, 2024
2a3dda4
Update docs/user/airbrakes.rst
MateusStano Jan 21, 2024
2ce1192
Update docs/user/airbrakes.rst
MateusStano Jan 21, 2024
7ad0311
Update docs/user/airbrakes.rst
MateusStano Jan 21, 2024
7c752fe
Update docs/user/airbrakes.rst
MateusStano Jan 21, 2024
271e7d7
Update rocketpy/control/controller.py
MateusStano Jan 21, 2024
a0bc59d
Update rocketpy/control/controller.py
MateusStano Jan 21, 2024
347f4b8
Update rocketpy/control/controller.py
MateusStano Jan 21, 2024
7594cb9
Update rocketpy/prints/control_prints.py
MateusStano Jan 21, 2024
dc3262b
Update rocketpy/prints/control_prints.py
MateusStano Jan 21, 2024
a8076be
Update rocketpy/prints/control_prints.py
MateusStano Jan 21, 2024
905fd87
Update rocketpy/rocket/aero_surface.py
MateusStano Jan 21, 2024
ead9219
Merge branch 'master' into develop
Gui-FernandesBR Jan 21, 2024
fa81545
ENH: minor fixes
MateusStano Jan 21, 2024
c0408ce
ENH: add `substitute_rocket_drag_coefficient`
MateusStano Jan 22, 2024
c1216b2
MNT: Add quaternion conversion functions to rocketpy.tools and update…
Gui-FernandesBR Jan 22, 2024
7895a1e
MNT: improve the low pass filter and document an example
Gui-FernandesBR Jan 23, 2024
08d3a42
Merge pull request #538 from RocketPy-Team/enh/minor_adjst_function_f…
Gui-FernandesBR Jan 23, 2024
cdb42ec
MNT: rename quaternions conversion functions
Gui-FernandesBR Jan 23, 2024
b55fdd2
Merge branch 'develop' into mnt/flible_quaternions_convertions
Gui-FernandesBR Jan 23, 2024
b11b21d
ENH: private controller class and related attributes
MateusStano Jan 24, 2024
11df71f
ENH: add get_controller_observed_variables
MateusStano Jan 24, 2024
711a7dc
Merge branch 'develop' into enh/air-brakes
MateusStano Jan 25, 2024
aad48bd
Fix code style issues with Black
lint-action Jan 25, 2024
d3e7e31
Update tests/test_environment.py
MateusStano Jan 25, 2024
5349743
Update tests/test_environment.py
MateusStano Jan 25, 2024
09d0b4b
Update tests/test_environment.py
MateusStano Jan 25, 2024
0de4756
Update rocketpy/environment/environment.py
MateusStano Jan 25, 2024
2086996
Merge branch 'develop' into enh/precalculate-barometric-height
MateusStano Jan 25, 2024
821518a
Merge pull request #537 from RocketPy-Team/mnt/flible_quaternions_con…
Gui-FernandesBR Jan 25, 2024
b469931
doc: Including imageio in pip install in dispersion analysis notebook.
Lucas-Prates Jan 25, 2024
d690f15
Merge branch 'develop' into enh/precalculate-barometric-height
MateusStano Jan 25, 2024
2ebed8d
Merge pull request #511 from RocketPy-Team/enh/precalculate-barometri…
phmbressan Jan 25, 2024
48e4f5d
Merge branch 'develop' into enh/shepard-multiple-opt
phmbressan Jan 25, 2024
5d09d4a
Merge pull request #515 from RocketPy-Team/enh/shepard-multiple-opt
phmbressan Jan 25, 2024
2fee77e
Merge pull request #540 from RocketPy-Team/doc/dispersion_analysis_im…
phmbressan Jan 25, 2024
2a1ab07
MNT: Remove duplicated altitude method from Flight class
Gui-FernandesBR Jan 26, 2024
dd44384
MNT: apply isort and simplify statements
Gui-FernandesBR Jan 26, 2024
862bfa9
DOC: update air brakes notebook
Gui-FernandesBR Jan 26, 2024
43632dc
Fix code style issues with Black
lint-action Jan 26, 2024
bf07e2e
MNT: change `interactable` to `interactive`
MateusStano Jan 27, 2024
465c74a
MNT: minor improvements to variable names and controller function
MateusStano Jan 27, 2024
058ab49
ENH: Function inputs from CSV file header.
phmbressan Jan 27, 2024
769b55c
Fix code style issues with Black
lint-action Jan 27, 2024
65eba94
MNT: update CHANGELOG with recent changes.
phmbressan Jan 27, 2024
5171c91
DOC: update header related documentation of Function.
phmbressan Jan 28, 2024
0d57206
DOC: Replacing git clone command with curl in notebooks.
Lucas-Prates Jan 31, 2024
be46ce8
Fix code style issues with Black
lint-action Jan 31, 2024
24b9b09
MNT: init deployment_level with settet and add_airbrakes maint
MateusStano Jan 31, 2024
85f3a47
Fix code style issues with Black
lint-action Jan 31, 2024
4ee4c7d
ENH: remove set_deployment_level and cached_property
MateusStano Feb 1, 2024
17eea3c
DOC: improve documentation for header behavior.
phmbressan Feb 2, 2024
ad7c573
Fix code style issues with Black
lint-action Feb 2, 2024
435bd62
Merge pull request #544 from RocketPy-Team/doc/issue-526
Gui-FernandesBR Feb 5, 2024
ce6d2ab
Merge branch 'develop' into enh/air-brakes
MateusStano Feb 5, 2024
31b7369
MNT: updates Makefile scripts, adds isort to requirements-tests.txt
Gui-FernandesBR Jan 25, 2024
85c9b45
MNT: fix typo biuld to build
Gui-FernandesBR Jan 25, 2024
dfbf8ba
FIX: modify the build-docs command to be a single line
Gui-FernandesBR Jan 25, 2024
49d1801
FIX: set makefile python command according to OS.
phmbressan Feb 1, 2024
5234f6d
MNT: remove pytest version cap.
phmbressan Feb 1, 2024
8e6b80c
ENH: Plotting both drag power on and off curves in a single plot.
juliomachad0 Feb 7, 2024
b1f155e
MNT: Updating the changelog file.
juliomachad0 Feb 7, 2024
872bd09
Update rocketpy/plots/rocket_plots.py
juliomachad0 Feb 7, 2024
243c493
Fix code style issues with Black
lint-action Feb 7, 2024
0ccd0b3
MNT: Making the changes that @Gui-FernandesBR suggested.
juliomachad0 Feb 7, 2024
e73aee1
MNT: update changelog
MateusStano Feb 7, 2024
df81dcd
BUG: consider only half of ellipse in shape vector
MateusStano Feb 7, 2024
1132a11
Merge pull request #426 from RocketPy-Team/enh/air-brakes
MateusStano Feb 7, 2024
3f35ead
Merge pull request #542 from RocketPy-Team/enh/function-csv-inputs
phmbressan Feb 7, 2024
e5d1122
Merge pull request #547 from RocketPy-Team/enh/drag-plot-on-off
phmbressan Feb 7, 2024
3972de4
MNT: update changelog
MateusStano Feb 7, 2024
9a1e372
Merge branch 'develop' into bug/elliptical-fins-draw
MateusStano Feb 7, 2024
bd6362c
Merge pull request #539 from RocketPy-Team/mnt/update-makefile
Gui-FernandesBR Feb 8, 2024
b2bab4d
Merge pull request #548 from RocketPy-Team/bug/elliptical-fins-draw
Gui-FernandesBR Feb 8, 2024
6da602c
MNT: apply isort and black to all the files
Gui-FernandesBR Feb 8, 2024
b966c4b
MNT: Refactor variable names in test_solidmotor.py to use UPPERCASE f…
Gui-FernandesBR Feb 8, 2024
2c62677
MNT: use `flight.altitude` instead of `flight.z - flight.env.elevation`
Gui-FernandesBR Feb 8, 2024
7e74362
MNT: reorganize and complete CHANGELOG.md
Gui-FernandesBR Feb 8, 2024
d8c178b
MNT: Update test command in pull request template
Gui-FernandesBR Feb 8, 2024
37dd1b4
MNT: Remove slow test execution from GitHub Actions workflow, not wor…
Gui-FernandesBR Feb 8, 2024
cf50451
MNT: Fix column not found warning in FlightDataImporter
Gui-FernandesBR Feb 8, 2024
91229c0
MNT: Add new "always good" variable names to .pylintrc
Gui-FernandesBR Feb 8, 2024
7d85fe8
MNT: update the CHANGELOG.md with the PR #550
Gui-FernandesBR Feb 8, 2024
db95053
Merge pull request #550 from RocketPy-Team/mnt/small-fixes-before-v1.2
Gui-FernandesBR Feb 9, 2024
ac84a45
BUG: fix `get_controller_observed_variables` in the air brakes examples
Gui-FernandesBR Feb 9, 2024
34dee18
TST: Add test for Flight.get_controller_observed_variables() method
Gui-FernandesBR Feb 9, 2024
6fba7fb
MNT: update CHANGELOG.md with #551
Gui-FernandesBR Feb 9, 2024
59a5498
BUG: Update flight trajectory plot axes limits
Gui-FernandesBR Feb 9, 2024
b221d88
Merge pull request #551 from RocketPy-Team/bug/-control-observed-vari…
Gui-FernandesBR Feb 9, 2024
3330c5a
Merge branch 'develop' into bug/3d-trajectory-plot
Gui-FernandesBR Feb 9, 2024
e4e67f4
Merge pull request #552 from RocketPy-Team/bug/3d-trajectory-plot
Gui-FernandesBR Feb 10, 2024
4fd6d06
DOC: change MAINT to MNT as our convention
Gui-FernandesBR Feb 12, 2024
4a3a50c
MNT: Add NUMERICAL_TYPES constant for type checking
Gui-FernandesBR Feb 12, 2024
1d819d1
MNT: update CHANGELOG
Gui-FernandesBR Feb 12, 2024
9da1542
Merge pull request #553 from RocketPy-Team/mnt/final-refactor-before-…
Gui-FernandesBR Feb 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,2 @@
# Set to true to add reviewers to PRs
addReviewers: true

# Set to 'author' to add PR's author as a assignee
addAssignees: author

# A list of reviewers to be added to PRs (GitHub user name)
reviewers:
- Gui-FernandesBR
- giovaniceotto
- MateusStano
- phmbressan

# A number of reviewers added to the PR
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0

# A list of keywords to be skipped the process if PR's title include it
skipKeywords:
- wip
- work in progress
- draft
35 changes: 35 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
coverage:
status:
project:
default:
# basic
target: auto
threshold: 1%
base: auto
flags:
- unit
paths:
- "rocketpy"
# advanced settings
branches:
- master
- develop
if_ci_failed: error #success, failure, error, ignore
informational: false
only_pulls: false
patch:
default:
# basic
target: auto
threshold: 1%
base: auto
# advanced
branches:
- master
- develop
if_ci_failed: error #success, failure, error, ignore
only_pulls: false
flags:
- "unit"
paths:
- "rocketpy"
2 changes: 1 addition & 1 deletion .github/workflows/lint_black.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
python-version: 3.8

- name: Install Python dependencies
run: pip install black
run: pip install black[jupyter]

- name: Run linters
uses: wearerequired/lint-action@v1
Expand Down
104 changes: 61 additions & 43 deletions .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PyTest
name: Tests

on:
pull_request:
Expand All @@ -7,58 +7,76 @@ on:
- "**.py"
- ".github/**"

defaults:
run:
shell: bash

jobs:
fail_if_pr_is_draft:
if: github.event.pull_request.draft == true
runs-on: ubuntu-18.04
steps:
- name: Fails in order to indicate that pull request needs to be marked as ready to review and unit tests workflow needs to pass.
run: exit 1
pytest_and_doctest:
Pytest:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python-version:
- 3.8
- 3.12
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.12]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Build RocketPy (without optional dependencies)
run: |
pip install .
- name: Import rocketpy in python and test if it works
run: |
python -c "import sys, rocketpy; print(f'{rocketpy.__name__} running on Python {sys.version}')"
- name: Install optional dependencies
run: |
pip install -r requirements-tests.txt
- name: Test with pytest
run: |
pytest --cov=rocketpy --cov-report=xml
cd rocketpy
pytest --doctest-modules --cov=rocketpy --cov-report=xml
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3

- name: Cache Python dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-tests.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install rocketpy
run: pip install .

- name: Test importing rocketpy
run: python -c "import sys, rocketpy; print(f'{rocketpy.__name__} running on Python {sys.version}')"

- name: Install test dependencies
run: pip install -r requirements-tests.txt

- name: Run Unit Tests
run: pytest tests/unit --cov=rocketpy

- name: Run Integration Tests
run: pytest $(find tests -maxdepth 1 -name "*.py") --cov=rocketpy --cov-append

- name: Run Documentation Tests
run: pytest rocketpy --doctest-modules --cov=rocketpy --cov-append

- name: Run Acceptance Tests
run: pytest tests/acceptance --cov=rocketpy --cov-append --cov-report=xml

- name: Run pytest --runslow
if: github.ref == 'refs/heads/master'
run: pytest tests -m slow --runslow --cov=rocketpy --cov-append --cov-report=xml

Gui-FernandesBR marked this conversation as resolved.
Show resolved Hide resolved
- name: Upload coverage to artifacts
uses: actions/upload-artifact@v2
with:
name: coverage
path: coverage.xml

CodecovUpload:
needs: Pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download all coverage reports
uses: actions/download-artifact@v2
- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml, ./rocketpy/coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true
files: |
coverage.xml
29 changes: 29 additions & 0 deletions .github/workflows/upload-to-codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Upload to Codecov

on:
workflow_call:
inputs:
codecov_token:
required: true
type: string
os:
required: true
type: string
python:
required: true
type: string

jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ inputs.codecov_token }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
files: ./coverage.xml, ./rocketpy/coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ function-naming-style=snake_case
# Good variable names which should always be accepted, separated by a comma.
good-names=FlightPhases,
WindroseAxes,
barometric_height_ISA,
Gui-FernandesBR marked this conversation as resolved.
Show resolved Hide resolved


# Good variable names regexes, separated by a comma. If names match any regex,
Expand Down Expand Up @@ -436,6 +437,7 @@ disable=raw-checker-failed,
no-else-return,
inconsistent-return-statements,
unspecified-encoding,
no-member, # because we use funcify_method decorator

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
20 changes: 16 additions & 4 deletions CHANGELOG.md
Gui-FernandesBR marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,26 @@ straightforward as possible.

### Added

-
- ENH: Shepard Optimized Interpolation - Multiple Inputs Support [#515](https://github.com/RocketPy-Team/RocketPy/pull/515)
- ENH: adds new Function.savetxt method [#514](https://github.com/RocketPy-Team/RocketPy/pull/514)
- ENH: Argument for Optional Mutation on Function Discretize [#519](https://github.com/RocketPy-Team/RocketPy/pull/519)

### Changed

-
- MNT: Add repr method to Parachute class [#490](https://github.com/RocketPy-Team/RocketPy/pull/490)
- ENH: Function Reverse Arithmetic Priority [#488](https://github.com/RocketPy-Team/RocketPy/pull/488)
- DOC: Update Header Related Docs
Gui-FernandesBR marked this conversation as resolved.
Show resolved Hide resolved
- ENH Precalculate Barometric Height [#511](https://github.com/RocketPy-Team/RocketPy/pull/511)
- MNT: Encapsulate quaternion conversions [#537](https://github.com/RocketPy-Team/RocketPy/pull/537)
- MNT: improve the low pass filter and document an example [#538](https://github.com/RocketPy-Team/RocketPy/pull/538)


### Fixed

- ENH: Parachute trigger doesn't work if "Apogee" is used instead of "apogee" [#489](https://github.com/RocketPy-Team/RocketPy/pull/489)
- BUG: fin_flutter_analysis doesn't find any fin set [#510](https://github.com/RocketPy-Team/RocketPy/pull/510)
- FIX: EmptyMotor is breaking the Rocket.draw() method [#516](https://github.com/RocketPy-Team/RocketPy/pull/516)
- BUG: 3D trajectory plot not labeling axes [#533](https://github.com/RocketPy-Team/RocketPy/pull/533)
-

## [v1.1.5] - 2024-01-21
Expand All @@ -66,8 +78,8 @@ You can install this version by running `pip install rocketpy==1.1.3`

### Fixed

- FIX: Broken Function.get_value_opt for N-Dimensional Functions [#492](https://github.com/RocketPy-Team/RocketPy/pull/492)
- FIX: Never ending Flight simulations when using a GenericMotor [#497](https://github.com/RocketPy-Team/RocketPy/pull/497)
- FIX: Broken Function.get_value_opt for N-Dimensional Functions [#492](https://github.com/RocketPy-Team/RocketPy/pull/492)
- FIX: Never ending Flight simulations when using a GenericMotor [#497](https://github.com/RocketPy-Team/RocketPy/pull/497)

## [v1.1.2] - 2023-11-25

Expand Down
3 changes: 2 additions & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# These owners will be the default owners for everything in
# the repo.
* @giovaniceotto
* @RocketPy-Team/code-owners

23 changes: 23 additions & 0 deletions data/juno3/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Rocket Launch
=============
Projeto Jupiter is a rocket design team from the Univ. of São Paulo, Brazil
They launched the rocket `Juno III` at the SACup 2023 (10k Solid SRAD)
The rocket flew at June 23rd, around 17hrs local time.

Data Permission
===============
Juliana Carloni (Projeto Jupiter) shared the data with the RocketPy Team in
2023 right after launch.

Highlights
==========
Apogee registered at Flight Card: `3213 m`
Last simulated apogee before Flight: `3026.054 m`
Flight performance: Only the drogue chute was ejected.

Data
====
3 different datasets are available, from 3 different sources:
- cots_altimeter.csv : This COTS altimeter (RRC3) logged the altitude and pressure.
- cots_GNSS.csv : A log from the COTS GNSS sensor.
- srad_telemetry : SRAD telemetry data logged by the team. This might be noisy.
Loading
Loading