SirStone
  • Joined on 2025-05-04
SirStone commented on issue SirStone/SirRoboGarage#164 2026-09-13 20:32:12 +02:00
Research existing lead-targeting code in repo

Resolution

No lead-targeting code exists anywhere in the repo. Reusable pieces:

  • PPO_Bot_garage/src/PPO_Bot/enemy_tracker.nim — 5-slot position history, tracks x/y/speed/dir. Best reuse…
SirStone commented on issue SirStone/SirRoboGarage#160 2026-09-13 20:32:08 +02:00
Research bullet mechanics — speed, travel time, lead angle formula

Resolution

Bullet speed: 20 - 3 * firepower (range 11–19.7 units/turn), constant velocity, no decay. Travel time: D / bulletSpeed. Lead angle: quadratic intercept — solve `(vx²+vy²−s²)t²…

SirStone commented on issue SirStone/SirRoboGarage#159 2026-09-13 20:28:09 +02:00
SNNBot: lead-predicted aiming against moving targets

Child tickets

  • #160 - Research bullet mechanics (research)
  • #161 - Decide test adversary (grilling)
  • #162 - Decide velocity encoding (grilling, blocked by #160)
  • #163 - Decide error signal…
SirStone commented on issue SirStone/SirRoboGarage#163 2026-09-13 20:28:08 +02:00
Decide geometric would-have-hit error signal

Blocked by: #160 (Research bullet mechanics — need bullet speed for travel time computation)

SirStone commented on issue SirStone/SirRoboGarage#162 2026-09-13 20:28:07 +02:00
Decide input encoding for enemy velocity

Blocked by: #160 (Research bullet mechanics — need to know what velocity info matters)

SirStone opened issue SirStone/SirRoboGarage#164 2026-09-13 20:28:04 +02:00
Research existing lead-targeting code in repo
SirStone opened issue SirStone/SirRoboGarage#163 2026-09-13 20:28:02 +02:00
Decide geometric would-have-hit error signal
SirStone opened issue SirStone/SirRoboGarage#162 2026-09-13 20:27:58 +02:00
Decide input encoding for enemy velocity
SirStone opened issue SirStone/SirRoboGarage#161 2026-09-13 20:27:55 +02:00
Decide test adversary — wall bot or spinner for training
SirStone opened issue SirStone/SirRoboGarage#160 2026-09-13 20:27:52 +02:00
Research bullet mechanics — speed, travel time, lead angle formula
SirStone opened issue SirStone/SirRoboGarage#159 2026-09-13 20:27:49 +02:00
SNNBot: lead-predicted aiming against moving targets
SirStone closed issue SirStone/SirRoboGarage#147 2026-09-13 20:10:53 +02:00
SNNBot: SNN-aimed gun against stationary target
SirStone commented on issue SirStone/SirRoboGarage#147 2026-09-13 20:10:52 +02:00
SNNBot: SNN-aimed gun against stationary target

Resolution

Destination reached. The SNN-aimed gun visibly tracks the enemy and error drops over time.

Route walked (10 decisions):

  • Debug drawing API researched, aimTo() mechanics…
SirStone closed issue SirStone/SirRoboGarage#158 2026-09-13 20:07:40 +02:00
Implement SuperSpike learning rule in SNNBot
SirStone commented on issue SirStone/SirRoboGarage#158 2026-09-13 20:07:38 +02:00
Implement SuperSpike learning rule in SNNBot

Resolution

SuperSpike implemented and learning confirmed. Gun visibly tracks enemy and error decreases over time.

Key fixes during implementation:

  • Weight init ±0.01 within ±1.0 clamp…
SirStone opened issue SirStone/SirRoboGarage#158 2026-09-13 19:24:34 +02:00
Implement SuperSpike learning rule in SNNBot
SirStone closed issue SirStone/SirRoboGarage#157 2026-09-13 19:23:05 +02:00
Research PC-SNN as backup learning algorithm
SirStone closed issue SirStone/SirRoboGarage#156 2026-09-13 19:23:04 +02:00
Research SuperSpike learning rule for SNNBot gun aiming
SirStone commented on issue SirStone/SirRoboGarage#157 2026-09-13 19:23:02 +02:00
Research PC-SNN as backup learning algorithm

Resolution

PC-SNN is viable but too costly as a backup. It requires:

  • Full rewrite to time-to-first-spike (TTFS) coding — incompatible with current rate/population coding
  • Per-layer error…
SirStone commented on issue SirStone/SirRoboGarage#156 2026-09-13 19:23:00 +02:00
Research SuperSpike learning rule for SNNBot gun aiming

Resolution

SuperSpike (Zenke & Ganguli 2018) is the right fit. Key findings:

Learning rule: Δw_ij = r × ∫ e_i(s) · σ'(U_i(s)) · (ε * S_j)(s) ds

  • Surrogate derivative: `σ'(U) = (1…