0:\n turn = 1.0 # goal is LEFT -> hard left (bang-bang)\n else:\n turn = -1.0 # goal is RIGHT -> hard right (bang-bang)\n return (forward - turn, forward + turn)\n","task":{"goal":[1.2,1.2],"time":14,"tol":0.12},"title":"The PID Loop"}">
MUJOCO · REAL PHYSICS · IN-BROWSER
The PID Loop
Write control(obs) to ease the rover onto the green pad — real MuJoCo physics, tight 0.12 m tolerance. The starter is bang-bang and weaves; make it proportional.