Skip to content

Commit 0a416b5

Browse files
committed
MNT: refactoring flight.py to remove unused parameters
1 parent 17fc587 commit 0a416b5

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
@@ -1467,10 +1467,6 @@ def udot_rail1(self, t, u, post_processing=False):
14671467
a32 = 2 * (e2 * e3 + e0 * e1)
14681468
a33 = 1 - 2 * (e1**2 + e2**2)
14691469

1470-
vx_b = a11 * vx + a21 * vy + a31 * vz
1471-
vy_b = a12 * vx + a22 * vy + a32 * vz
1472-
vz_b = a13 * vx + a23 * vy + a33 * vz
1473-
14741470
# Freestream velocity in body frame
14751471
wind_vx = self.env.wind_velocity_x.get_value_opt(z)
14761472
wind_vy = self.env.wind_velocity_y.get_value_opt(z)

0 commit comments

Comments
 (0)