Input cleanup: remove redundant distance from sliding window #119

Closed
opened 2026-08-29 19:03:42 +02:00 by SirStone · 1 comment
Owner

What to build

Remove the redundant distance entry from the sliding window's last feature group so that distance appears only once in the 91-dimensional ANN input.

The sliding window currently includes distance in its last 3-element group (indices 87-89), making it appear twice in the 91-dim input - once normalized with NormWallDistance=1000.0 inside the window, and once as normDistance(currentDist) as the 91st element.

Acceptance criteria

  • toInputVec no longer includes normalized distance in the window portion (indices 87-89)
  • Distance appears only as the sole distance input at index 90
  • InputDim constant in ann.nim changes from 91 to 90
  • Unfilled window slots (zeros) semantically represent no data rather than zero distance
  • Existing when isMainModule self-checks in data.nim still pass
  • Existing when isMainModule self-checks in ann.nim still pass

Blocked by

None - can start immediately.

Parent

Closes part of #118

## What to build Remove the redundant distance entry from the sliding window's last feature group so that distance appears only once in the 91-dimensional ANN input. The sliding window currently includes distance in its last 3-element group (indices 87-89), making it appear twice in the 91-dim input - once normalized with NormWallDistance=1000.0 inside the window, and once as normDistance(currentDist) as the 91st element. ## Acceptance criteria - toInputVec no longer includes normalized distance in the window portion (indices 87-89) - Distance appears only as the sole distance input at index 90 - InputDim constant in ann.nim changes from 91 to 90 - Unfilled window slots (zeros) semantically represent no data rather than zero distance - Existing when isMainModule self-checks in data.nim still pass - Existing when isMainModule self-checks in ann.nim still pass ## Blocked by None - can start immediately. ## Parent Closes part of #118
Author
Owner

Duplicate of #120. Closing.

Duplicate of #120. Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SirStone/SirRoboGarage#119