Skip to content

Commit

Permalink
Merge pull request #548 from RocketPy-Team/bug/elliptical-fins-draw
Browse files Browse the repository at this point in the history
BUG: Elliptical Fins Draw
  • Loading branch information
Gui-FernandesBR authored Feb 8, 2024
2 parents bd6362c + 9a1e372 commit b2bab4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ straightforward as possible.
- 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)
- ENH: Plotting both power on and off drag curves in a single plot [#547](https://github.com/RocketPy-Team/RocketPy/pull/547)
- BUG: Elliptical Fins Draw [#548](https://github.com/RocketPy-Team/RocketPy/pull/548)

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion rocketpy/rocket/aero_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ def evaluate_geometrical_parameters(self):
return None

def evaluate_shape(self):
angles = np.arange(0, 360, 5)
angles = np.arange(0, 180, 5)
x_array = self.root_chord / 2 + self.root_chord / 2 * np.cos(np.radians(angles))
y_array = self.span * np.sin(np.radians(angles))
self.shape_vec = [x_array, y_array]
Expand Down

0 comments on commit b2bab4d

Please sign in to comment.