We present an application of two degree of freedom control combined with H-infinity control to an electronic speed controller for a gasoline engine. The electronic speed controller is used for speed control of the gasoline engine of a forklift truck. This system needs a function of engine speed follow-up to the reference speed set with open rate of the accelerator pedal. It also needs a function of constant engine speed against torque disturbance, that is the load of a hydraulic pump during loading operation. The results of both simulations and experiments show that two degree of freedom control combined with H-infinity control enables excellent in the capabilities of follow up control, torque disturbance control and robust stability.