1
Fork 0

chore: remove distance to target from model input

This commit is contained in:
Tibo De Peuter 2026-04-28 17:27:08 +02:00
parent 33fbc4c96f
commit 49f5874035
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU
3 changed files with 5 additions and 5 deletions

View file

@ -16,8 +16,7 @@ Global inputs, always broadcasted to all nodes:
$$
tilt = sqrt(roll^2 + pitch^2)
$$
- Goal vector: Instead of just a scalar distance, the goal is represented asa a vector (distance and ange/direction) to
the target.
- Goal vector: Instead of just a scalar distance, the goal is represented as an angle/direction to the target.
Local inputs, routed directly to specific nodes:
@ -70,6 +69,10 @@ When designing the state space, we must ask: *Could a human operator perform thi
as a normalized unit vector bounds the values to the $[-1, 1]$ range, which stabilizes neural network training.
Providing only a scalar "distance to the goal" would force the agent to learning localized searching behaviors (e.g.
random walks or spiraling) to deduce the direction, drastically increasing the difficulty of the learning task.
**NOTE:** We later dropped the "distance to vector", switching to only a direction as the input. Our reasoning is
the agent should always move towards the goal (it should not learn to stop at the goal), which allows for this
simplification that decreases the model input size.
- Contact sensors: Segment contact detects external ground interaction and is biologically vital for timing gait
transitions.
- **Zero-Centered Rescaling ($[-1, 1]$):** Using a zero-centered range is standard best practice for continuous control