Ballistics Engine v0.22.9
Ballistics Engine v0.22.9
Fixed — estimate-bc now fits real dope-card data correctly
Two defects made estimate-bc return wrong BCs from dope cards (reported by an external user):
- Fixed atmosphere. It hard-coded ICAO-standard air with no way to change it, so a card measured at a different density fit to the wrong BC. Added
--temperature,--pressure,--humidity,--altitudeso the fit runs at the conditions the data came from. - Wrong reference frame. It fit bore-referenced (flat-fire) drop, but dope cards are zeroed (drop below line of sight). A zeroed card's ~0-drop point at the zero range is impossible flat-fire and drove the fit to nonsense (a 3-point card pinned both G1 and G7 at the sweep ceiling). Added
--zero-range(+--sight-height): drop is then fit as drop-below-LOS from a rifle zeroed there — exactly what a dope card prints. Omitted → bore-referenced (unchanged).
estimate-bc now warns when drop data looks zeroed but --zero-range wasn't given, and flags a fit UNRELIABLE when it runs to the BC search limit rather than returning a bogus value (G7 is now capped at a physical 0.70). Native CLI (table/json/csv + reliable field) and WASM.
Installation
curl --proto '=https' --tlsv1.2 -sSf https://ballistics.zip | sh