3 Commits

Author SHA1 Message Date
72dfc39771 Add anti-recoil prediction system with 3 algorithms + debug visualization
- Add EAntiRecoilMode enum: Disabled, Buffer, Linear Extrapolation,
  Weighted Regression (default), Kalman Filter
- Replace frame-based buffer with time-based FTimestampedTransform history
- Add AntiRecoilBufferTime/DiscardTime for time-based sample management
- Implement 3 prediction methods in new AntiRecoilPredict.cpp:
  linear extrapolation, weighted least-squares regression, simplified Kalman
- Add RegressionWeightExponent parameter to control weight curve shape
- Add debug visualization: green (raw tracker), red (predicted aim),
  yellow (uncorrected aim persisting 3s after IMU shock)
- Add IMU shock simulation for testing without physical firing
- Fix shotTrace DrawDebugLine: correct endpoint and color

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:55:50 +01:00
41ec54f7dd ignore 2026-03-13 15:37:00 +01:00
9c4061da5b Initial Commit 2026-03-13 15:35:51 +01:00