An accelerator pedal position sensor sends the driver's pedal input to the engine control system. In an electronic throttle system, the controller uses that input along with other information to command the throttle.