SirStone
  • Joined on 2025-05-04
SirStone commented on issue SirStone/SirRoboGarage#162 2026-09-13 20:52:31 +02:00
Decide input encoding for enemy velocity

Resolution

Polar encoding: velocity direction (36 neurons) + speed (8 neurons), 1-tick delta, SNN smooths internally.

Input vector layout (80 neurons total)

SirStone closed issue SirStone/SirRoboGarage#161 2026-09-13 20:40:38 +02:00
Decide test adversary — wall bot or spinner for training
SirStone commented on issue SirStone/SirRoboGarage#161 2026-09-13 20:40:37 +02:00
Decide test adversary — wall bot or spinner for training

Resolution

Adversary is chosen at runtime by the operator, not hardcoded or pre-selected. No new bot will be built for this map.

  • The existing adversary roster (SittingDuck, OscillatorBot…
SirStone closed issue SirStone/SirRoboGarage#160 2026-09-13 20:32:24 +02:00
Research bullet mechanics — speed, travel time, lead angle formula
SirStone closed issue SirStone/SirRoboGarage#164 2026-09-13 20:32:24 +02:00
Research existing lead-targeting code in repo
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…