@@ -1716,7 +1716,7 @@ def u_dot_generalized(
1716
1716
else :
1717
1717
R3 += air_brakes_force
1718
1718
# Get rocket velocity in body frame
1719
- velocity_vector_in_body_frame = Kt @ v
1719
+ velocity_in_body_frame = Kt @ v
1720
1720
# Calculate lift and moment for each component of the rocket
1721
1721
for aero_surface , position in self .rocket .aerodynamic_surfaces :
1722
1722
comp_cpz = (
@@ -1726,7 +1726,7 @@ def u_dot_generalized(
1726
1726
surface_radius = aero_surface .rocket_radius
1727
1727
reference_area = np .pi * surface_radius ** 2
1728
1728
# Component absolute velocity in body frame
1729
- comp_vb = velocity_vector_in_body_frame + (w ^ comp_cp )
1729
+ comp_vb = velocity_in_body_frame + (w ^ comp_cp )
1730
1730
# Wind velocity at component altitude
1731
1731
comp_z = z + (K @ comp_cp ).z
1732
1732
comp_wind_vx = self .env .wind_velocity_x .get_value_opt (comp_z )
@@ -1797,7 +1797,7 @@ def u_dot_generalized(
1797
1797
)
1798
1798
M3 += self .rocket .cp_eccentricity_x * R2 - self .rocket .cp_eccentricity_y * R1
1799
1799
1800
- weight_vector_in_body_frame = Kt @ Vector (
1800
+ weight_in_body_frame = Kt @ Vector (
1801
1801
[0 , 0 , - total_mass * self .env .gravity .get_value_opt (z )]
1802
1802
)
1803
1803
@@ -1815,14 +1815,14 @@ def u_dot_generalized(
1815
1815
((w ^ T00 ) ^ w )
1816
1816
+ (w ^ T03 )
1817
1817
+ T04
1818
- + weight_vector_in_body_frame
1818
+ + weight_in_body_frame
1819
1819
+ Vector ([R1 , R2 , R3 ])
1820
1820
)
1821
1821
1822
1822
T21 = (
1823
1823
((I @ w ) ^ w )
1824
1824
+ T05 @ w
1825
- - (weight_vector_in_body_frame ^ r_CM )
1825
+ - (weight_in_body_frame ^ r_CM )
1826
1826
+ Vector ([M1 , M2 , M3 ])
1827
1827
)
1828
1828
@@ -3434,8 +3434,6 @@ class TimeNodes:
3434
3434
TimeNodes object are instances of the TimeNode class.
3435
3435
"""
3436
3436
3437
- # pylint: disable=missing-function-docstring
3438
-
3439
3437
def __init__ (self , init_list = None ):
3440
3438
if not init_list :
3441
3439
init_list = []
0 commit comments