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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user