Skip to content

Commit

Permalink
Consolidate turn APs in the report.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwatsonforster committed Oct 11, 2023
1 parent 2d757ec commit 5134308
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions airpower/aircraft/_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,24 +279,24 @@ def _endmovespeed(self):

# See the "Speed Gain" and "Speed Loss" sections of rule 6.2.

turnsap = self._turnrateap + self._sustainedturnap

self._log("- power APs = %+.2f." % self._powerap)
self._log("- speed APs = %+.2f." % self._speedap)
self._log("- altitude APs = %+.2f." % self._altitudeap)
self._log("- turn rate APs = %+.2f." % self._turnrateap)
self._log("- sustained turns APs = %+.2f." % self._sustainedturnap)
self._log("- turns APs = %+.2f." % turnsap)
self._log("- other maneuvers APs = %+.2f." % self._othermaneuversap)
self._log("- speedbrakes APs = %+.2f." % self._spbrap)
self._log("- carry APs = %+.2f." % self._apcarry)
ap = \
self._powerap + \
self._speedap + \
self._altitudeap + \
self._turnrateap + \
self._sustainedturnap + \
turnsap + \
self._othermaneuversap + \
self._spbrap + \
self._apcarry
self._log("- total APs = %+.2f." % ap)
self._log("- total APs = %+.2f." % ap)

# See the "Speed Gain", "Speed Loss", and "Rapid Accel Aircraft" sections
# of rule 6.2 and the "Supersonic Speeds" section of rule 6.6.
Expand Down

0 comments on commit 5134308

Please sign in to comment.