Skip to content

Commit

Permalink
Explicit float constants
Browse files Browse the repository at this point in the history
  • Loading branch information
gedeschaines committed Dec 23, 2023
1 parent 8c576c0 commit 819304f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion propNav.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def Atgt(UWt, Pt, Vt, n, TgtTheta):
UWtb = UWt # +pitching about +yb axis
# Compute inertial to body transformation matrix
if (abs(UWtb[1]) > 0.9999 and TgtTheta*DPR > 85.0) or \
(abs(UWtb[1]) < 0.9999 and (tel > 85 and TgtTheta*DPR > 85)):
(abs(UWtb[1]) < 0.9999 and (tel > 85.0 and TgtTheta*DPR > 85.0)):
# Approaching gimbal lock; form direction cosine matrix
# using position pointing vector as derived in eqs (25)
# thru (30) on pg 5 of ref [7].
Expand Down

0 comments on commit 819304f

Please sign in to comment.