Trying attention method
This commit is contained in:
@@ -73,8 +73,8 @@ class HerdingEnv(gym.Env):
|
||||
# Peer communication lag — sheep broadcast every 3 Webots steps
|
||||
PEER_BROADCAST_INTERVAL = 3
|
||||
|
||||
# Action smoothing EMA alpha — matches shepherd_dog_rl.py ACTION_SMOOTH
|
||||
ACTION_SMOOTH = 0.3
|
||||
# Action smoothing EMA alpha; 0 = disabled (smoothing applied at Webots inference)
|
||||
ACTION_SMOOTH = 0.0
|
||||
|
||||
# Boid parameters — identical to sheep.py
|
||||
FLEE_DIST = 7.0
|
||||
|
||||
Reference in New Issue
Block a user