Apparatus for generating an accelerator pedal signal