Skip to content

Commit 365c2da

Browse files
aZira371Gui-FernandesBR
authored andcommitted
MNT: refactoring flight.py to remove unused parameters
1 parent 23ac66f commit 365c2da

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

rocketpy/simulation/flight.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,10 +1498,6 @@ def udot_rail1(self, t, u, post_processing=False):
14981498
a32 = 2 * (e2 * e3 + e0 * e1)
14991499
a33 = 1 - 2 * (e1**2 + e2**2)
15001500

1501-
vx_b = a11 * vx + a21 * vy + a31 * vz
1502-
vy_b = a12 * vx + a22 * vy + a32 * vz
1503-
vz_b = a13 * vx + a23 * vy + a33 * vz
1504-
15051501
# Freestream velocity in body frame
15061502
wind_vx = self.env.wind_velocity_x.get_value_opt(z)
15071503
wind_vy = self.env.wind_velocity_y.get_value_opt(z)

0 commit comments

Comments
 (0)