Output space design for goto/aimTo #19
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?
Parent map: #18
Question
What are the exact output dimensions, ranges, and activation functions for the new action space?
Key sub-questions:
goto(x, y): absolute battlefield coordinates. What range? Battlefield is bounded — does the network output raw values scaled to battlefield dimensions (e.g. sigmoid × width/height)? Or unbounded with clamping?aimTo(angle): 0–360° absolute gun angle. How encoded — single value with modular arithmetic? Two values (sin, cos) to avoid the 359°→0° discontinuity?Resolution
6-dimensional continuous action space:
Key decisions:
goto(x, y)andaimTo(x, y)both use absolute battlefield coordinates, sigmoid-bounded to field dimensions. No off-field outputs possible.aimTois a point, not an angle — avoids circular encoding discontinuity (sin/cos) and keeps output at 2 dims not 3. Controller computes gun angle via arctan2.