SNNBot: SNN-aimed gun against stationary target #147
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Destination
A new bot (
SNNBot_garage/) that uses a Spiking Neural Network to learn where to aim its gun at a stationary target (SittingDuck). The SNN outputs a target angle; a deterministicaimTo()function turns the gun there. Radar uses the existing lock radar module. No firing, no movement. Two switchable learning algorithms (hill-climbing and reward-modulated STDP). Graphical debug overlay shows input activations, hidden neuron states, output angle, and aiming error. Integration test via shared test framework. Done when the gun visibly tracks the enemy and error drops over time.Notes
src/,tests/,out/).nim,tdd,ponytail.rtr_nim_botapi_3). Gun direction and enemy direction are both 0–360° absolute. Relative bearing vianormalizeRelativeAngle(enemyDir - gunDirection)→ -180° to +180°.aimTo()converts target angle to shortest gun turn.Decisions so far
Not yet specified
Out of scope
Resolution
Destination reached. The SNN-aimed gun visibly tracks the enemy and error drops over time.
Route walked (10 decisions):
Deferred to future maps: fast training runner, gun firing, movement, LSNN, SNN as common_lib, performance benchmarking.