Bots: env reporting, TFIL movement, gun selector and docs refresh
DevControlBot DevControlBot.sh env-file handling and defines, tfil.nim
survival-movement rework, README
ModularBot .env.example, ModularBot.nim, env_report.nim, vbullet_draw.nim
PPO_Bot enemy_tracker.nim
common_libs gun_harness/selector.nim
tests env_report, lead_gain_legacy, rack_membership,
rack_stat_width, tm_pattern_registration adjustments
docs env_reference.md, goto-controller-algorithm.md
This commit is contained in:
@@ -22,6 +22,10 @@ import virtual_bullets
|
||||
# TR_RACK_KNN=off -> removed from both racks
|
||||
# TR_RACK_TMPATTERN=off (shipped default for the new TM pattern gun)
|
||||
# TR_RACK_LEADGAIN=both -> the per-range-band lead-gain corrector (id 16)
|
||||
# TR_RACK_KNOWLEDGE=both -> the learned residual gun (id 17); it is a
|
||||
# persistence-carrying gun, so the shipped default
|
||||
# is `off` and it only ever touches disk when a
|
||||
# caller admits it
|
||||
#
|
||||
# SHIPPED DEFAULT IS `onlyPattern`: Pattern (id 5) is admitted in both racks and
|
||||
# every other gun is `off`. This is a deliberate, measured decision, not a
|
||||
@@ -45,10 +49,11 @@ import virtual_bullets
|
||||
# transition the radar uses.
|
||||
|
||||
const
|
||||
RackGunNames*: array[17, string] = [
|
||||
RackGunNames*: array[19, string] = [
|
||||
"HEADON", "LINEAR", "TSETLIN", "CIRCULAR", "GUESSFACTOR", "PATTERN",
|
||||
"WALLBOUNCE", "ACCEL", "STOPSHOT", "DISPLACE", "AVGLEAD", "DECAYGF",
|
||||
"KNN", "TMSELECT", "TMPATTERN", "TMHORIZON", "LEADGAIN"]
|
||||
"KNN", "TMSELECT", "TMPATTERN", "TMHORIZON", "LEADGAIN", "KNOWLEDGE",
|
||||
"WAVEELM"]
|
||||
RackEnvPrefix* = "TR_RACK_"
|
||||
## THE rack size, derived from `RackGunNames`. Every per-gun-indexed array and
|
||||
## loop in the bot and in the harness MUST be sized with this, never with a
|
||||
@@ -74,7 +79,7 @@ const
|
||||
## it never spawns a virtual bullet unless explicitly enabled, so the shared
|
||||
## VirtualTracker ring head — and every other gun's learning order — is
|
||||
## unchanged.
|
||||
DefaultRackMembership*: array[17, RackMembership] = [
|
||||
DefaultRackMembership*: array[19, RackMembership] = [
|
||||
rmOff, # 0 HEADON — off (measured: worst over-selected gun)
|
||||
rmOff, # 1 LINEAR — off
|
||||
rmOff, # 2 TSETLIN — off
|
||||
@@ -91,7 +96,12 @@ const
|
||||
rmOff, # 13 TMSELECT — off
|
||||
rmOff, # 14 TMPATTERN — off (already shipped off; TM pattern gun)
|
||||
rmOff, # 15 TMHORIZON — off (horizon-based TM corrector; expected to lose)
|
||||
rmOff] # 16 LEADGAIN — off (per-range-band lead-gain corrector)
|
||||
rmOff, # 16 LEADGAIN — off (per-range-band lead-gain corrector)
|
||||
rmOff, # 17 KNOWLEDGE — off (learned additive angular residual on top of
|
||||
# the self-consistent lead forecast; see
|
||||
# `guns/gun_knowledge.nim`)
|
||||
rmOff] # 18 WAVEELM — off (online-ELM learned offset on the analytic
|
||||
# intercept; see `guns/waveelm.nim`)
|
||||
## NOTE: the table is registered in the SAME commit as the gun id and the live
|
||||
## wiring, so `TR_RACK_LEADGAIN=both` (or the legacy `TR_RACK_BITBRAIN=both`)
|
||||
## are the ONLY things that admit that gun, and an unset environment is
|
||||
|
||||
Reference in New Issue
Block a user