The throttle position sensor (TPS) measures the actual position of the throttle plate inside the throttle body. The accelerator pedal position sensor (APPS) measures the position of the gas pedal pushed by the driver. Both send signals to the PCM to control the throttle motor.