they had to construct a fully operational gate , calibrate the sensors , and then walk the gate through a simulated opening , all while performing a light jog on the treadmill , the speeds changing to simulate the physical energy it would take to do each task .