feat(SNNBot): physics-based input encoding for lead generalization

Replace (bearing, velDir, speed) with (relVelDir, speed, distance).
Raw bearing is irrelevant to lead offset — the correction depends on
how the target crosses the line of fire, not where it is. This lets
exemplars from one position generalize to all positions with similar
geometry.
This commit is contained in:
2026-09-16 21:48:06 +02:00
parent 57cbcc5699
commit 802e0e0056
2 changed files with 29 additions and 35 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import std/[bitops, math]
const
INPUT_BITS* = 80
WORDS_IN* = 2 # 80 bits → 2 × uint64 (128 bits, only 80 used)
MAX_K* = 128
MAX_K* = 64
MIN_SIM* = 3
type