Skip to content

Commit c92d5f0

Browse files
CopilotaZira371
andcommitted
Improve comment clarity in weathercocking aligned case
Co-authored-by: aZira371 <99824864+aZira371@users.noreply.github.com>
1 parent e63a73f commit c92d5f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rocketpy/simulation/flight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1964,7 +1964,7 @@ def u_dot_generalized_3dof(self, t, u, post_processing=False):
19641964
# 180 degree rotation: sin(angle) = 1
19651965
omega_mag = self.weathercock_coeff * 1.0
19661966
omega_body = Kt @ (rotation_axis * omega_mag)
1967-
# else: aligned or nearly aligned, omega_body remains None
1967+
# else: aligned (dot > 0.999) - no rotation needed, omega_body stays None
19681968

19691969
# Compute quaternion derivatives from omega_body
19701970
if omega_body is not None:

0 commit comments

Comments
 (0)